Skip to content
Permalink
Browse files

Fix init flag order in QgsOptionsDialogBase (thanks Borys)

  • Loading branch information
dakcarto committed May 24, 2013
1 parent 35489cc commit 708344920c16a9978a8f7230a02e370c2d61bd76
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsoptionsdialogbase.cpp
@@ -74,10 +74,10 @@ void QgsOptionsDialogBase::initOptionsBase( bool restoreUi )
connect( mOptStackedWidget, SIGNAL( currentChanged( int ) ), this, SLOT( optionsStackedWidget_CurrentChanged( int ) ) );
connect( mOptStackedWidget, SIGNAL( widgetRemoved( int ) ), this, SLOT( optionsStackedWidget_WidgetRemoved( int ) ) );

mInit = true;

if ( restoreUi )
restoreOptionsBaseUi();

mInit = true;
}

void QgsOptionsDialogBase::restoreOptionsBaseUi()

0 comments on commit 7083449

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