From 509438a49dfb5cbf98e62648381d479aba9976ef Mon Sep 17 00:00:00 2001 From: Brendan Hagan Date: Mon, 12 Feb 2024 22:08:16 -0500 Subject: [PATCH] misc: expand image file selector choices (fixes #62) (#70) --- src/gui/value/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/value/image.cpp b/src/gui/value/image.cpp index 99d9123d..240a2ab2 100644 --- a/src/gui/value/image.cpp +++ b/src/gui/value/image.cpp @@ -20,7 +20,7 @@ IMPLEMENT_VALUE_EDITOR(Image) {} bool ImageValueEditor::onLeftDClick(const RealPoint&, wxMouseEvent&) { String filename = wxFileSelector(_("Open image file"), settings.default_image_dir, _(""), _(""), - _("All images|*.bmp;*.jpg;*.png;*.gif|Windows bitmaps (*.bmp)|*.bmp|JPEG images (*.jpg;*.jpeg)|*.jpg;*.jpeg|PNG images (*.png)|*.png|GIF images (*.gif)|*.gif|TIFF images (*.tif;*.tiff)|*.tif;*.tiff"), + _("All images|*.bmp;*.jpg;*.jpeg;*.png;*.gif;*.tif;*.tiff|Windows bitmaps (*.bmp)|*.bmp|JPEG images (*.jpg;*.jpeg)|*.jpg;*.jpeg|PNG images (*.png)|*.png|GIF images (*.gif)|*.gif|TIFF images (*.tif;*.tiff)|*.tif;*.tiff"), wxFD_OPEN, wxGetTopLevelParent(&editor())); if (!filename.empty()) { settings.default_image_dir = wxPathOnly(filename);