From 3dcb98be150a2d02bacc48f70f90fef2118836fb Mon Sep 17 00:00:00 2001 From: edisionnano Date: Tue, 4 Feb 2025 22:22:43 +0200 Subject: [PATCH] Set the device node name as default JSON filename --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index ff70b6c..3c7c2f9 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1194,7 +1194,7 @@ void MainWindow::on_actionSave_JSON_triggered() } QString fileName = QFileDialog::getSaveFileName(this, - tr("Save JSON"), "", + tr("Save JSON"), deviceNodeLineEdit->text().section('/', -1) + ".json", tr("JSON (*.json);;All Files (*)")); if (fileName.isEmpty()) return;