From 9b50d065d9e075abe4b5cd04ccfdf65ccc775bc8 Mon Sep 17 00:00:00 2001 From: Michel Mastriani Date: Mon, 24 Jul 2023 21:28:36 -0300 Subject: [PATCH] =?UTF-8?q?--Bug=20fixes=C2=A0-Error=20when=20saving=20scr?= =?UTF-8?q?een=20on=20macOS=20at=20first=20time.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/Fractorium/FractoriumSettings.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Fractorium/FractoriumSettings.cpp b/Source/Fractorium/FractoriumSettings.cpp index df0947b..8952650 100644 --- a/Source/Fractorium/FractoriumSettings.cpp +++ b/Source/Fractorium/FractoriumSettings.cpp @@ -86,7 +86,11 @@ void FractoriumSettings::EnsureDefaults() OpenImageExt("*.png"); if (SaveImageExt() == "") - SaveImageExt(".png"); +#ifndef __APPLE__ + SaveImageExt(".png"); +#else + SaveImageExt("Png (*.png)"); +#endif if (FinalExt() != "jpg" && FinalExt() != "png" && FinalExt() != "exr" #ifdef _WIN32