This commit is contained in:
2022-05-03 18:57:01 +03:00
parent d34a7cc38f
commit 1a8b442aaa
7 changed files with 37 additions and 1 deletions

View File

@@ -16,7 +16,8 @@ int main(int argc, char * argv[]) {
QPIConfig cfg(a.arguments()[1]);
QByteArray model = cfg.getValue("connectionmodel").toByteArray();
if (!model.isEmpty()) w.setModel(model);
}
} else
w.recreateConnection();
if (w.exec() == QDialog::Accepted) {
QString c = QFileDialog::getSaveFileName(&w, "Save config to file", a.applicationDirPath(), "*.conf");
if (!c.isEmpty()) {