Browse Source

Improve last commit

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
1d4454c6eb
  1. 4
      src/GUI.cpp

4
src/GUI.cpp

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

Loading…
Cancel
Save