aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 1d9dfb0..d1f27d7 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -402,6 +402,10 @@ void MainWindow::on_actionSettings_triggered()
// Re-render the currently-open tab if we have one.
BrowserTab * tab = this->curTab();
if (tab) tab->rerenderPage();
+
+ // Update new-tab button visibility.
+ this->ui->browser_tabs->tab_bar->new_tab_btn
+ ->setVisible(kristall::options.enable_newtab_btn);
}
void MainWindow::on_actionNew_Tab_triggered()