From 43ac051e22cd59c5bfbd3a0f68d5bd7416bdb006 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 17 Jan 2025 03:00:46 +0100 Subject: Update filetypes from XML to sqlite3 when setting/exporting cinema/screen databases. --- src/wx/full_config_dialog.cc | 4 ++-- 1 file 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 ); -- cgit v1.2.3