Merge branch 'develop' into clazy_autorefactoring

This commit is contained in:
Luis Ángel San Martín
2021-09-26 08:52:23 +02:00
committed by GitHub
10 changed files with 44 additions and 22 deletions

View File

@ -65,7 +65,7 @@ void ExportComicsInfoDialog::findPath()
{
QString s = QFileDialog::getSaveFileName(this, tr("Destination database name"), ".", "*.ydb");
if (!s.isEmpty()) {
path->setText(s);
path->setText(s.endsWith(".ydb") ? s : s + ".ydb");
accept->setEnabled(true);
}
}