Fix views in mainwindow

Divelist only view was broken.

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2017-11-30 22:51:41 +01:00 committed by Lubomir I. Ivanov
parent 0fc4bd8976
commit 4ee9791cb8

View file

@ -1126,8 +1126,8 @@ void MainWindow::on_actionViewList_triggered()
{ {
TOGGLE_COLLAPSABLE( true ); TOGGLE_COLLAPSABLE( true );
beginChangeState(LIST_MAXIMIZED); beginChangeState(LIST_MAXIMIZED);
ui.topSplitter->setSizes(BEHAVIOR << EXPANDED << COLLAPSED);
ui.mainSplitter->setSizes(BEHAVIOR << COLLAPSED << EXPANDED); ui.mainSplitter->setSizes(BEHAVIOR << COLLAPSED << EXPANDED);
ui.bottomSplitter->setSizes(BEHAVIOR << EXPANDED << COLLAPSED);
} }
void MainWindow::on_actionViewProfile_triggered() void MainWindow::on_actionViewProfile_triggered()