diff --git a/saoriwindow.cpp b/saoriwindow.cpp index 6387050..8b4c932 100644 --- a/saoriwindow.cpp +++ b/saoriwindow.cpp @@ -140,9 +140,15 @@ void SaoriWindow::on_actionTabbedView_mode_toggled(bool arg1) { if (ui->mdiArea->viewMode() == QMdiArea::TabbedView) { - if (arg1 == false) ui->mdiArea->setViewMode(QMdiArea::SubWindowView); + if (arg1 == false) { + ui->mdiArea->setViewMode(QMdiArea::SubWindowView); + ui->actionTiled->setEnabled(true); + } } else { - if (arg1 == true) ui->mdiArea->setViewMode(QMdiArea::TabbedView); + if (arg1 == true) { + ui->mdiArea->setViewMode(QMdiArea::TabbedView); + ui->actionTiled->setEnabled(false); + } } return; }