Implement focus-shifting on Windows and waiting status

This commit is contained in:
Cacodemon345
2025-07-11 18:04:58 +06:00
parent bb7ebc72c8
commit 07c6a8a154
11 changed files with 70 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ VMManagerMain::VMManagerMain(QWidget *parent) :
connect(&nameChangeAction, &QAction::triggered, ui->listView, [this, indexAt] {
updateDisplayName(indexAt);
});
nameChangeAction.setEnabled(!selected_sysconfig->window_obscured);
QAction openSystemFolderAction(tr("Open folder"));
contextMenu.addAction(&openSystemFolderAction);
@@ -82,6 +83,7 @@ VMManagerMain::VMManagerMain(QWidget *parent) :
selected_sysconfig->setIcon(iconName);
}
});
setSystemIcon.setEnabled(!selected_sysconfig->window_obscured);
contextMenu.addSeparator();