Skip to content
Permalink
Browse files

fix 2fa7736

  • Loading branch information
jef-n committed Jul 16, 2013
1 parent 4265f9f commit 7dbef92784c90d0fced4a50c2a8409b788898416
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsattributedialog.cpp
@@ -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();
}
@@ -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();
}

0 comments on commit 7dbef92

Please sign in to comment.
You can’t perform that action at this time.