diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-01-21 21:30:50 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-01-21 13:49:54 +0100 |
| commit | 17a90d8dde55c5f0adc230c1a78da3dd2f8af995 (patch) | |
| tree | 6773b5090e669535b7279cefee75f6d231ca4fac /src/mainwindow.cpp | |
| parent | 2091b038ef2a23a85d30d056307b3c405c416256 (diff) | |
| download | kristall-17a90d8dde55c5f0adc230c1a78da3dd2f8af995.tar.gz | |
new-tab button: add preference
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 4 |
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() |
