mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
Fix macOS application menu
This commit is contained in:
parent
a5c1e8204c
commit
a074cffa5b
@ -117,10 +117,9 @@ void MainWindow::SetupGUI()
|
||||
setWindowTitle(STR_TR_OSCAR + QString(" %1").arg(version));
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
|
||||
ui->action_About->setMenuRole(QAction::ApplicationSpecificRole);
|
||||
ui->action_Preferences->setMenuRole(QAction::ApplicationSpecificRole);
|
||||
ui->action_Exit->setMenuRole(QAction::ApplicationSpecificRole);
|
||||
ui->action_Preferences->setShortcuts(QKeySequence::Preferences);
|
||||
#endif
|
||||
|
||||
ui->actionToggle_Line_Cursor->setChecked(AppSetting->lineCursorMode());
|
||||
|
Loading…
Reference in New Issue
Block a user