Skip to content

Commit 7dbef92

Browse files
committed
fix 2fa7736
1 parent 4265f9f commit 7dbef92

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/gui/qgsattributedialog.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ QgsAttributeDialog::QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeat
434434
}
435435

436436
// Only restore the geometry of the dialog if it's not a custom one.
437-
if (!vl->editorLayout() == QgsVectorLayer::UiFileLayout)
437+
if ( vl->editorLayout() != QgsVectorLayer::UiFileLayout )
438438
{
439439
restoreGeometry();
440440
}
@@ -455,7 +455,7 @@ QgsAttributeDialog::~QgsAttributeDialog()
455455
}
456456

457457
// Only save the geometry of the dialog if it's not a custom one.
458-
if (!mLayer->editorLayout() == QgsVectorLayer::UiFileLayout)
458+
if ( mLayer->editorLayout() != QgsVectorLayer::UiFileLayout )
459459
{
460460
saveGeometry();
461461
}

0 commit comments

Comments
 (0)