qt: Send dialog status to VM-manager & fix pause

- Manager is notified of modal dialogs blocking the main window.
- Pause command from manager uses action to prevent desyncing pause status
in the menus and toolbar.
This commit is contained in:
ts-korhonen
2022-01-22 02:41:02 +02:00
parent 7995be4adb
commit 3d0b100199
5 changed files with 41 additions and 2 deletions

View File

@@ -1500,4 +1500,9 @@ void MainWindow::showSettings()
void MainWindow::hardReset()
{
ui->actionHard_Reset->trigger();
}
void MainWindow::togglePause()
{
ui->actionPause->trigger();
}