aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-06-26 15:07:51 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-27 07:22:26 +0800
commitfa96ebeed73323d33dc1635a19cda8a24ed902b0 (patch)
treedae5f51c749fe4f0bdf7dbc25f19f2b0ba4e0b94
parent865d4953df6f8e8ddb1d1fb65faf89eb02116e87 (diff)
downloadsubsurface-fa96ebeed73323d33dc1635a19cda8a24ed902b0.tar.gz
Enable 'View->View Globe'
For viewing the Globe section (pane) we need to collapse both the 'list' and the 'main' splitters. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index bac25a315..6036b3cd1 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -330,8 +330,8 @@ void MainWindow::on_actionViewInfo_triggered()
void MainWindow::on_actionViewGlobe_triggered()
{
- ui->infoProfileSplitter->setSizes(BEHAVIOR << COLLAPSED << EXPANDED);
- ui->mainSplitter->setSizes( BEHAVIOR << COLLAPSED << EXPANDED);
+ ui->mainSplitter->setSizes(BEHAVIOR << COLLAPSED << EXPANDED);
+ ui->listGlobeSplitter->setSizes(BEHAVIOR << COLLAPSED << EXPANDED);
}
#undef BEHAVIOR