summaryrefslogtreecommitdiff
path: root/src/wx/player_config_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-30 22:34:19 +0100
committerCarl Hetherington <cth@carlh.net>2019-11-30 22:34:19 +0100
commitd9e6b138e84e7a8504075b8581cca4d0fabfbc40 (patch)
treec86ea8f3d4a92c424c4e946be5524ea5e28d2cac /src/wx/player_config_dialog.cc
parent2ed188232e575e42d13cbc3aaab3b055c7ff26af (diff)
Try to improve the checking for overwrite of export files a little
on Linux; I think we need to do it ourselves rather than relying on wxFileDialog.
Diffstat (limited to 'src/wx/player_config_dialog.cc')
-rw-r--r--src/wx/player_config_dialog.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/player_config_dialog.cc b/src/wx/player_config_dialog.cc
index c1765eccb..34eee2871 100644
--- a/src/wx/player_config_dialog.cc
+++ b/src/wx/player_config_dialog.cc
@@ -121,12 +121,12 @@ private:
++r;
add_label_to_sizer (table, _panel, _("Activity log file"), true, wxGBPosition (r, 0));
- _activity_log_file = new FilePickerCtrl (_panel, _("Select activity log file"), "*", true);
+ _activity_log_file = new FilePickerCtrl (_panel, _("Select activity log file"), "*", true, true);
table->Add (_activity_log_file, wxGBPosition(r, 1));
++r;
add_label_to_sizer (table, _panel, _("Debug log file"), true, wxGBPosition (r, 0));
- _debug_log_file = new FilePickerCtrl (_panel, _("Select debug log file"), "*", true);
+ _debug_log_file = new FilePickerCtrl (_panel, _("Select debug log file"), "*", true, true);
table->Add (_debug_log_file, wxGBPosition(r, 1));
++r;
@@ -137,7 +137,7 @@ private:
++r;
add_label_to_sizer (table, _panel, _("Lock file"), true, wxGBPosition(r, 0));
- _lock_file = new FilePickerCtrl (_panel, _("Select lock file"), "*", true);
+ _lock_file = new FilePickerCtrl (_panel, _("Select lock file"), "*", true, true);
table->Add (_lock_file, wxGBPosition (r, 1));
++r;
#endif