summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-17 03:00:46 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-22 14:34:25 +0100
commit43ac051e22cd59c5bfbd3a0f68d5bd7416bdb006 (patch)
tree4e7c7766fcf97bc1f8f8c128ad1f1240015d4b75
parente48d35d9eef518e6113c56769826d2160e57e81d (diff)
Update filetypes from XML to sqlite3 when setting/exporting cinema/screen databases.
-rw-r--r--src/wx/full_config_dialog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc
index 2b7eaac9d..f2609ebc3 100644
--- a/src/wx/full_config_dialog.cc
+++ b/src/wx/full_config_dialog.cc
@@ -123,7 +123,7 @@ private:
++r;
add_label_to_sizer (table, _panel, _("Cinema and screen database file"), true, wxGBPosition (r, 0));
- _cinemas_file = new FilePickerCtrl(_panel, _("Select cinema and screen database file"), char_to_wx("*.xml"), true, false, "CinemaDatabasePath");
+ _cinemas_file = new FilePickerCtrl(_panel, _("Select cinema and screen database file"), char_to_wx("*.sqlite3"), true, false, "CinemaDatabasePath");
table->Add (_cinemas_file, wxGBPosition (r, 1));
auto export_cinemas = new Button (_panel, _("Export..."));
table->Add (export_cinemas, wxGBPosition (r, 2));
@@ -191,7 +191,7 @@ private:
void export_cinemas_file ()
{
wxFileDialog dialog(
- _panel, _("Select Cinemas File"), wxEmptyString, wxEmptyString, char_to_wx("XML files (*.xml)|*.xml"),
+ _panel, _("Select Cinemas File"), wxEmptyString, wxEmptyString, char_to_wx("SQLite files (*.sqlite3)|*.sqlite3"),
wxFD_SAVE | wxFD_OVERWRITE_PROMPT
);