Commit abd2b4bd authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

use deck name as default file name for saving

parent f727b747
......@@ -320,6 +320,7 @@ bool WndDeckEditor::actSaveDeckAs()
dialog.setConfirmOverwrite(true);
dialog.setDefaultSuffix("cod");
dialog.setNameFilters(DeckList::fileNameFilters);
dialog.selectFile(deckModel->getDeckList()->getName());
if (!dialog.exec())
return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment