Make it impossible to collapse either side of the MainWindow splitter. Fixes #4384

This commit is contained in:
David Sansome 2014-05-29 20:43:43 +10:00
parent c8661541a4
commit 453a012f21
1 changed files with 4 additions and 0 deletions

View File

@ -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