From 51ce52981a916d22e10ce8d0077cb3e9b69d404e Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 27 Jun 2018 10:00:19 -0300 Subject: [PATCH] Improve UX in File > Export in special cases for output filename extension * When the extension is unknown, an error is shown. * When the extension is not written, the default extension will be added (the default extension is different depending on if the file format is image format or an animation format). --- data/strings/en.ini | 5 ++++ data/widgets/export_file.xml | 2 +- laf | 2 +- src/app/ui/export_file_window.cpp | 43 ++++++++++++++++++++++++++++--- src/app/ui/export_file_window.h | 2 ++ 5 files changed, 48 insertions(+), 6 deletions(-) diff --git a/data/strings/en.ini b/data/strings/en.ini index f563a33f6..86b11440c 100644 --- a/data/strings/en.ini +++ b/data/strings/en.ini @@ -95,6 +95,11 @@ Warning < -