mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
Fix restoring Window Layout
This commit is contained in:
parent
2ab6907746
commit
523e4b471a
@ -223,6 +223,9 @@ void MainWindow::initUI()
|
||||
|
||||
#undef ADD_DOCK
|
||||
|
||||
// Set up dock widgets default layout
|
||||
resetToDefaultLayout();
|
||||
|
||||
// Restore saved settings
|
||||
this->readSettings();
|
||||
// TODO: Allow the user to select this option visually in the GUI settings
|
||||
@ -232,8 +235,6 @@ void MainWindow::initUI()
|
||||
setCorner(Qt::BottomLeftCorner, Qt::LeftDockWidgetArea);
|
||||
//setCorner( Qt::BottomRightCorner, Qt::RightDockWidgetArea );
|
||||
|
||||
// Set up dock widgets default layout
|
||||
resetToDefaultLayout();
|
||||
|
||||
/*
|
||||
* Some global shortcuts
|
||||
|
Loading…
Reference in New Issue
Block a user