Browse Source

Attempt to fix toolbar toggling on Mac

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
10801f111b
  1. 2
      src/GUI.cpp

2
src/GUI.cpp

@ -644,9 +644,11 @@ bool GUI::event(QEvent * e) { @@ -644,9 +644,11 @@ bool GUI::event(QEvent * e) {
}
#ifdef Q_WS_MAC
case QEvent::ToolBarChange: {
e->accept();
const bool is_visible = toolBar->isVisible();
actionTop_tool_bar->setChecked(is_visible);
Preferences::setToolbarDisplayed(is_visible);
return true;
break;
}
#endif

Loading…
Cancel
Save