From 064b74350724df341c4ce977d2ad0ecd449f3cd6 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 25 Feb 2022 02:37:53 -0500 Subject: [PATCH] enforce .dmf extension when saving as legacy --- src/gui/gui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 2cb3ecfe2..8b49da085 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -4874,6 +4874,9 @@ bool FurnaceGUI::loop() { checkExtension(".dmf"); } } + if (curFileDialog==GUI_FILE_SAVE_DMF_LEGACY) { + checkExtension(".dmf"); + } if (curFileDialog==GUI_FILE_SAMPLE_SAVE || curFileDialog==GUI_FILE_EXPORT_AUDIO_ONE || curFileDialog==GUI_FILE_EXPORT_AUDIO_PER_SYS ||