Commit 0d87b92d authored by Mike Kremer's avatar Mike Kremer

Update combo box in toolbar when hitting space

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5959 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 59852878
......@@ -779,13 +779,22 @@ void CoreWidget::nextViewMode() {
switch (baseLayout_->mode()) {
case QtMultiViewLayout::SingleView:
baseLayout_->setMode(QtMultiViewLayout::Grid);
// Update combo box in the toolbar
viewmodeBox_->setCurrentIndex(1);
break;
case QtMultiViewLayout::Grid:
baseLayout_->setMode(QtMultiViewLayout::HSplit);
// Update combo box in the toolbar
viewmodeBox_->setCurrentIndex(2);
break;
case QtMultiViewLayout::HSplit:
baseLayout_->setMode(QtMultiViewLayout::SingleView);
PluginFunctions::setActiveExaminer(0);
// Update combo box in the toolbar
viewmodeBox_->setCurrentIndex(0);
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment