Add ability to export to an external editor within the same folder as the original file - issue 6195 (#6232)

* import and change the art code -thanks to Alberto

* Possible fixed for white space in folder

* Added verbose when white-space

* Replace WS only if windows and Gimp

* Fixed Windows and Gimp bug for external editor - thanks to Lawrence37

* Fix LGTM alert for reused variable name

Co-authored-by: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com>
This commit is contained in:
Desmis
2021-05-13 12:41:22 +02:00
committed by GitHub
parent 3cb6e88ea4
commit eb8f121709
9 changed files with 149 additions and 12 deletions

View File

@@ -280,6 +280,16 @@ public:
Glib::ustring CPBPath; // Custom Profile Builder's path
CPBKeyType CPBKeys; // Custom Profile Builder's key type
int editorToSendTo;
enum EditorOutDir {
EDITOR_OUT_DIR_TEMP,
EDITOR_OUT_DIR_CURRENT,
EDITOR_OUT_DIR_CUSTOM
};
EditorOutDir editor_out_dir; // output directory for "open in external editor"
Glib::ustring editor_custom_out_dir;
bool editor_float32;
bool editor_bypass_output_profile;
int maxThumbnailHeight;
int maxThumbnailWidth;
std::size_t maxCacheEntries;