mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-16 23:02:07 +08:00
cabana: update recent files in menu after save as (#27926)
old-commit-hash: 48f8c02cf14fe764875477fee2c95c746d76f200
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user