Skip to content

Commit 7083449

Browse files
committed
Fix init flag order in QgsOptionsDialogBase (thanks Borys)
1 parent 35489cc commit 7083449

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui/qgsoptionsdialogbase.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ void QgsOptionsDialogBase::initOptionsBase( bool restoreUi )
7474
connect( mOptStackedWidget, SIGNAL( currentChanged( int ) ), this, SLOT( optionsStackedWidget_CurrentChanged( int ) ) );
7575
connect( mOptStackedWidget, SIGNAL( widgetRemoved( int ) ), this, SLOT( optionsStackedWidget_WidgetRemoved( int ) ) );
7676

77+
mInit = true;
78+
7779
if ( restoreUi )
7880
restoreOptionsBaseUi();
79-
80-
mInit = true;
8181
}
8282

8383
void QgsOptionsDialogBase::restoreOptionsBaseUi()

0 commit comments

Comments
 (0)