Always export libraries as .ydb

This commit is contained in:
Felix Kauselmann 2021-07-06 15:00:55 +02:00
parent abcb4b1f26
commit 3d9873db75

View File

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