No GUI update during creation

This commit is contained in:
Pan7 2017-05-25 21:42:01 +02:00
parent 422cd9d40f
commit 7067c4d142

View file

@ -2694,12 +2694,9 @@ void MainFrame::Create(){
else
{
gtk_paned_set_position( GTK_PANED( m_pSplits[2] ), g_PrefsDlg.mWindowInfo.nCamWidth );
while ( gtk_events_pending() ) gtk_main_iteration();
gtk_paned_set_position( GTK_PANED( m_pSplits[3] ), g_PrefsDlg.mWindowInfo.nXYWidth );
}
while ( gtk_events_pending() ) gtk_main_iteration();
gtk_paned_set_position( GTK_PANED( m_pSplits[1] ), g_PrefsDlg.mWindowInfo.nCamHeight );
}
else if ( CurrentStyle() == eFloating ) {