Skip to content

Commit

Permalink
fix 2fa7736
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 16, 2013
1 parent 4265f9f commit 7dbef92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsattributedialog.cpp
Expand Up @@ -434,7 +434,7 @@ QgsAttributeDialog::QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeat
}

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

// Only save the geometry of the dialog if it's not a custom one.
if (!mLayer->editorLayout() == QgsVectorLayer::UiFileLayout)
if ( mLayer->editorLayout() != QgsVectorLayer::UiFileLayout )
{
saveGeometry();
}
Expand Down

0 comments on commit 7dbef92

Please sign in to comment.