cabana: update recent files in menu after save as (#27926)

pull/27928/head
Dean Lee 2 years ago committed by GitHub
parent 6bed16441c
commit 48f8c02cf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      tools/cabana/mainwin.cc

@ -432,6 +432,7 @@ void MainWindow::saveAs() {
QString fn = QFileDialog::getSaveFileName(this, tr("Save File"), QDir::cleanPath(settings.last_dir + "/untitled.dbc"), tr("DBC (*.dbc)"));
if (!fn.isEmpty()) {
dbc_file->saveAs(fn);
updateRecentFiles(fn);
}
}
}

Loading…
Cancel
Save