Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2018-09-06 17:45:31 +0300
committerbubnikv <bubnikv@gmail.com>2018-09-14 16:10:50 +0300
commit61a6aa86922cf1a123dfef14e525fd2d9ee42fe1 (patch)
treeb2d514f18715fd1c1c793b80bd4fb8a5b68fb3d8 /xs
parent7258c597b9140f09879db12ffc7334135b2d72d8 (diff)
FirmwareDialog: Add appropriate set of wildcards to the file picker
Diffstat (limited to 'xs')
-rw-r--r--xs/src/slic3r/GUI/FirmwareDialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xs/src/slic3r/GUI/FirmwareDialog.cpp b/xs/src/slic3r/GUI/FirmwareDialog.cpp
index 0c06e517e..d5ac64d90 100644
--- a/xs/src/slic3r/GUI/FirmwareDialog.cpp
+++ b/xs/src/slic3r/GUI/FirmwareDialog.cpp
@@ -708,7 +708,8 @@ FirmwareDialog::FirmwareDialog(wxWindow *parent) :
panel->SetSizer(vsizer);
auto *label_hex_picker = new wxStaticText(panel, wxID_ANY, _(L("Firmware image:")));
- p->hex_picker = new wxFilePickerCtrl(panel, wxID_ANY);
+ p->hex_picker = new wxFilePickerCtrl(panel, wxID_ANY, wxEmptyString, wxFileSelectorPromptStr,
+ "Hex files (*.hex)|*.hex|All files|*.*");
auto *label_port_picker = new wxStaticText(panel, wxID_ANY, _(L("Serial port:")));
p->port_picker = new wxComboBox(panel, wxID_ANY);