Make it impossible to collapse either side of the MainWindow splitter. Fixes #4384
This commit is contained in:
parent
c8661541a4
commit
453a012f21
|
@ -881,6 +881,10 @@ MainWindow::MainWindow(Application* app, SystemTrayIcon* tray_icon, OSD* osd,
|
|||
file_view_->SetPath(
|
||||
settings_.value("file_path", QDir::homePath()).toString());
|
||||
|
||||
// Users often collapse one side of the splitter by mistake and don't know
|
||||
// how to restore it. This must be set after the state is restored above.
|
||||
ui_->splitter->setChildrenCollapsible(false);
|
||||
|
||||
ReloadSettings();
|
||||
|
||||
// Reload pretty OSD to avoid issues with fonts
|
||||
|
|
Loading…
Reference in New Issue