Fix issue. Tape allows to enable disabled rows.
This commit is contained in:
parent
bbfbdb57f4
commit
7ebb9f2e04
|
@ -161,7 +161,7 @@ void DialogRestrictDimension::RowSelected()
|
||||||
|
|
||||||
QTableWidgetItem *item = ui->tableWidget->currentItem();
|
QTableWidgetItem *item = ui->tableWidget->currentItem();
|
||||||
|
|
||||||
if (item != nullptr)
|
if (item != nullptr && (item->flags() & Qt::ItemIsEnabled) != 0U)
|
||||||
{
|
{
|
||||||
qreal base1 = 0;
|
qreal base1 = 0;
|
||||||
qreal base2 = 0;
|
qreal base2 = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user