Manager: Update machine configuration on change

(signaled by the VM or upon closing the standalone settings dialog)
This commit is contained in:
Alexander Babikov
2025-08-02 00:34:53 +05:00
parent a828626177
commit 4827da23f4
18 changed files with 80 additions and 19 deletions

View File

@@ -113,6 +113,12 @@ VMManagerModel::reload(QWidget* parent)
// TODO: Remove missing configs
}
void
VMManagerModel::refreshConfigs() {
for ( const auto& each_config : machines)
each_config->reloadConfig();
}
QModelIndex
VMManagerModel::getIndexForConfigFile(const QFileInfo& config_file)
{