summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2017-11-30 22:51:41 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-12-01 04:03:30 +0100
commit4ee9791cb8721cf6fceb5fc1443af902ad6e7163 (patch)
tree11aa619a0e16cd593868495e85907b84296d161e /desktop-widgets/mainwindow.cpp
parent0fc4bd8976e5459b84307b595049f081ed8c2c78 (diff)
downloadsubsurface-4ee9791cb8721cf6fceb5fc1443af902ad6e7163.tar.gz
Fix views in mainwindow
Divelist only view was broken. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 9dddba434..aaddb5174 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -1126,8 +1126,8 @@ void MainWindow::on_actionViewList_triggered()
{
TOGGLE_COLLAPSABLE( true );
beginChangeState(LIST_MAXIMIZED);
- ui.topSplitter->setSizes(BEHAVIOR << EXPANDED << COLLAPSED);
ui.mainSplitter->setSizes(BEHAVIOR << COLLAPSED << EXPANDED);
+ ui.bottomSplitter->setSizes(BEHAVIOR << EXPANDED << COLLAPSED);
}
void MainWindow::on_actionViewProfile_triggered()