mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-10 06:40:53 +03:00
Set the device node name as default JSON filename
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user