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

old-commit-hash: 48f8c02cf1
beeps
Dean Lee 2 years ago committed by GitHub
parent f138eb8447
commit b8fcd32542
  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