Skip to content

Commit

Permalink
Fix updating global shortcuts with setCommands()
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Jul 9, 2017
1 parent 86913fe commit 36455c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2776,6 +2776,8 @@ void MainWindow::setCommands(const QList<Command> &commands)
updateContextMenu();
if (m_options.trayCommands)
updateTrayMenuItems();
updateContextMenu();
emit commandsSaved();
}

void MainWindow::runAutomaticCommands(QVariantMap data)
Expand Down

0 comments on commit 36455c5

Please sign in to comment.