Skip to content

Commit

Permalink
Fix init flag order in QgsOptionsDialogBase (thanks Borys)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed May 24, 2013
1 parent 35489cc commit 7083449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsoptionsdialogbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7083449

Please sign in to comment.