Really hide corner buttons.
This commit is contained in:
parent
604f91c70a
commit
593c094c3c
@ -87,8 +87,8 @@ void TabWidget::openMainMenu() {
|
||||
|
||||
void TabWidget::checkTabBarVisibility() {
|
||||
bool should_be_visible = count() > 1 || !Settings::instance()->value(APP_CFG_GUI,
|
||||
"hide_tabbar_one_tab",
|
||||
true).toBool();
|
||||
"hide_tabbar_one_tab",
|
||||
true).toBool();
|
||||
|
||||
if (should_be_visible) {
|
||||
setCornerWidget(m_btnMainMenu, Qt::TopLeftCorner);
|
||||
|
Loading…
x
Reference in New Issue
Block a user