PIValueTreeEdit cut/copy/paste support

EMainWindow saveAs incorrect filename to recent fix
QAD::loadTranslations now also look into standard translation location
This commit is contained in:
2023-04-28 15:33:50 +03:00
parent 4eefbe4e46
commit 76a1b35f14
9 changed files with 289 additions and 261 deletions

View File

@@ -416,7 +416,7 @@ bool EMainWindow::saveFile(bool ask) {
bool EMainWindow::saveAsFile() {
QString ret = QFileDialog::getSaveFileName(this, tr("Select file to save"), file_name, saveFilter());
if (ret.isEmpty()) return false;
if (save(ret)) addToRecent(ret);
if (save(ret)) addToRecent(file_name);
return true;
}