Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
abd2b4bd
Commit
abd2b4bd
authored
May 05, 2011
by
Max-Wilhelm Bruker
Browse files
use deck name as default file name for saving
parent
f727b747
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/window_deckeditor.cpp
View file @
abd2b4bd
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment