Fix issue. Tape allows to enable disabled rows.

This commit is contained in:
Roman Telezhynskyi 2021-02-08 15:17:43 +02:00
parent bbfbdb57f4
commit 7ebb9f2e04

View File

@ -161,7 +161,7 @@ void DialogRestrictDimension::RowSelected()
QTableWidgetItem *item = ui->tableWidget->currentItem();
if (item != nullptr)
if (item != nullptr && (item->flags() & Qt::ItemIsEnabled) != 0U)
{
qreal base1 = 0;
qreal base2 = 0;