Commit 3a013c08 authored by Stéphane Albert's avatar Stéphane Albert

ENH: Added save/restore layout feature to apla.

parent bc19e896
......@@ -104,7 +104,7 @@ void
MainWindow
::virtual_SetupUI()
{
setObjectName( "mvd::MainWindow" );
setObjectName( "Mapla" );
setWindowTitle( PROJECT_NAME " Application Launcher" );
#ifdef OTB_USE_QT4
......@@ -131,6 +131,11 @@ MainWindow
);
#endif // OTB_USE_QT4
if( !RestoreLayout( Monteverdi_UI_VERSION ) )
{
qWarning() << "Failed to restore window layout!";
}
}
/*****************************************************************************/
......@@ -164,6 +169,8 @@ MainWindow
Application::Instance()->GetModel< OTBApplicationsModel >()
);
SaveLayout( Monteverdi_UI_VERSION );
I18nMainWindow::closeEvent( event );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment