use deck name as default file name for saving
This commit is contained in:
parent
f727b74739
commit
abd2b4bdf8
1 changed files with 1 additions and 0 deletions
|
@ -320,6 +320,7 @@ bool WndDeckEditor::actSaveDeckAs()
|
||||||
dialog.setConfirmOverwrite(true);
|
dialog.setConfirmOverwrite(true);
|
||||||
dialog.setDefaultSuffix("cod");
|
dialog.setDefaultSuffix("cod");
|
||||||
dialog.setNameFilters(DeckList::fileNameFilters);
|
dialog.setNameFilters(DeckList::fileNameFilters);
|
||||||
|
dialog.selectFile(deckModel->getDeckList()->getName());
|
||||||
if (!dialog.exec())
|
if (!dialog.exec())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue