mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Consolidate accepted decklist file extensions (#5749)
* Consolidate accepted decklist file extensions * rename the other const
This commit is contained in:
parent
42301d4f1a
commit
0fa744f6ec
5 changed files with 17 additions and 7 deletions
|
|
@ -355,7 +355,7 @@ bool AbstractTabDeckEditor::actSaveDeckAs()
|
|||
dialog.setDirectory(SettingsCache::instance().getDeckPath());
|
||||
dialog.setAcceptMode(QFileDialog::AcceptSave);
|
||||
dialog.setDefaultSuffix("cod");
|
||||
dialog.setNameFilters(DeckLoader::fileNameFilters);
|
||||
dialog.setNameFilters(DeckLoader::FILE_NAME_FILTERS);
|
||||
dialog.selectFile(getDeckList()->getName().trimmed());
|
||||
if (!dialog.exec())
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue