Skip to content

Commit

Permalink
Set preferences dialog for Mac (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
variar committed Nov 28, 2021
1 parent 6b633ce commit e75f29a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ void MainWindow::createActions()
[ this ]( auto ) { this->editHighlighters(); } );

optionsAction = new QAction( tr( "&Options..." ), this );
optionsAction->setMenuRole(QAction::PreferencesRole);
optionsAction->setStatusTip( tr( "Show the Options box" ) );
connect( optionsAction, &QAction::triggered, this, [ this ]( auto ) { this->options(); } );

Expand Down

0 comments on commit e75f29a

Please sign in to comment.