feat: add more items in macOS menu bar (#5266)
Co-authored-by: pajlada <rasmus.karlsson+github@pajlada.com>
This commit is contained in:
@@ -249,7 +249,7 @@ void SettingsDialog::addTabs()
|
||||
this->addTab([]{return new PluginsPage;}, "Plugins", ":/settings/plugins.svg");
|
||||
#endif
|
||||
this->ui_.tabContainer->addStretch(1);
|
||||
this->addTab([]{return new AboutPage;}, "About", ":/settings/about.svg", SettingsTabId(), Qt::AlignBottom);
|
||||
this->addTab([]{return new AboutPage;}, "About", ":/settings/about.svg", SettingsTabId::About, Qt::AlignBottom);
|
||||
// clang-format on
|
||||
}
|
||||
|
||||
@@ -366,6 +366,11 @@ void SettingsDialog::showDialog(QWidget *parent,
|
||||
}
|
||||
break;
|
||||
|
||||
case SettingsDialogPreference::About: {
|
||||
instance->selectTab(SettingsTabId::About);
|
||||
}
|
||||
break;
|
||||
|
||||
default:;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user