mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Preferences: Correctly set show bookmarks toolbar disabled by default
This commit is contained in:
parent
fae791dcc9
commit
6cd1e7e31a
|
@ -207,8 +207,8 @@ Preferences::Preferences(BrowserWindow* window)
|
|||
ui->showStatusbar->setChecked(settings.value("showStatusBar", false).toBool());
|
||||
// NOTE: instantBookmarksToolbar and showBookmarksToolbar cannot be both enabled at the same time
|
||||
ui->instantBookmarksToolbar->setChecked(settings.value("instantBookmarksToolbar", false).toBool());
|
||||
ui->showBookmarksToolbar->setChecked(settings.value("showBookmarksToolbar", true).toBool());
|
||||
ui->instantBookmarksToolbar->setDisabled(settings.value("showBookmarksToolbar", true).toBool());
|
||||
ui->showBookmarksToolbar->setChecked(settings.value("showBookmarksToolbar", false).toBool());
|
||||
ui->instantBookmarksToolbar->setDisabled(settings.value("showBookmarksToolbar", false).toBool());
|
||||
ui->showBookmarksToolbar->setDisabled(settings.value("instantBookmarksToolbar").toBool());
|
||||
connect(ui->instantBookmarksToolbar, SIGNAL(toggled(bool)), ui->showBookmarksToolbar, SLOT(setDisabled(bool)));
|
||||
connect(ui->showBookmarksToolbar, SIGNAL(toggled(bool)), ui->instantBookmarksToolbar, SLOT(setDisabled(bool)));
|
||||
|
|
Loading…
Reference in New Issue
Block a user