Make PNG the default export format.

This commit is contained in:
Lymia Aluysia
2017-01-24 10:49:14 -06:00
parent 2936cdf436
commit aa39a9bc71
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ IMPLEMENT_REFLECTION_NO_SCRIPT(ColumnSettings) {
GameSettings::GameSettings()
: sort_cards_ascending(true)
, images_export_filename(_("{card.name}.jpg"))
, images_export_filename(_("{card.name}.png"))
, images_export_conflicts(CONFLICT_NUMBER_OVERWRITE)
, use_auto_replace(true)
, pack_seed_random(true)
+1 -1
View File
@@ -631,7 +631,7 @@ void SetWindow::onFileExportImage(wxCommandEvent&) {
CardP card = current_panel->selectedCard();
if (!card) return; // no card selected
String name = wxFileSelector(_TITLE_("save image"), settings.default_export_dir, clean_filename(card->identification()), _(""),
_("JPEG images (*.jpg)|*.jpg|Windows bitmaps (*.bmp)|*.bmp|PNG images (*.png)|*.png|TIFF images (*.tif)|*.tif"),
_("PNG images (*.png)|*.png|JPEG images (*.jpg)|*.jpg|Windows bitmaps (*.bmp)|*.bmp|TIFF images (*.tif)|*.tif"),
wxFD_SAVE | wxFD_OVERWRITE_PROMPT, this);
if (!name.empty()) {
settings.default_export_dir = wxPathOnly(name);