From 3b63cf4c98285c16a0155be2ad57c20c517a5e8a Mon Sep 17 00:00:00 2001 From: Christof Ruch Date: Wed, 14 Feb 2024 00:22:59 +0100 Subject: [PATCH] [fix] Fix the background color of the export dialog (#283) --- The-Orm/ExportDialog.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/The-Orm/ExportDialog.cpp b/The-Orm/ExportDialog.cpp index 1f1a871f..3d396179 100644 --- a/The-Orm/ExportDialog.cpp +++ b/The-Orm/ExportDialog.cpp @@ -11,9 +11,9 @@ static std::function sCallback_; ExportDialog::ExportDialog() { // Properties to edit... - props_.push_back(std::make_shared(TypedNamedValue("Sysex format", "Export options", midikraft::Librarian::PROGRAM_DUMPS, + props_.push_back(std::make_shared(TypedNamedValue("Sysex format", "", midikraft::Librarian::PROGRAM_DUMPS, { {midikraft::Librarian::PROGRAM_DUMPS, "Sysex format individual program dumps"}, { midikraft::Librarian::EDIT_BUFFER_DUMPS, "Sysex format individual edit buffer dumps" } }))); - props_.push_back(std::make_shared(TypedNamedValue("File format", "Export options", midikraft::Librarian::MANY_FILES, + props_.push_back(std::make_shared(TypedNamedValue("File format", "", midikraft::Librarian::MANY_FILES, { {midikraft::Librarian::MANY_FILES, "Each patch separately into a file"}, { midikraft::Librarian::ZIPPED_FILES, "Each patch separately into a file, but all zipped up" }, { midikraft::Librarian::ONE_FILE, "One sysex file with all messages" }, { midikraft::Librarian::MID_FILE, "One MIDI file (SMF) to play from a player or DAW" } }))); @@ -66,7 +66,6 @@ void ExportDialog::showExportDialog(Component *centeredAround, std::string const launcher.componentToCentreAround = centeredAround; launcher.dialogTitle = title; launcher.useNativeTitleBar = false; - launcher.dialogBackgroundColour = Colours::black; sWindow_ = launcher.launchAsync(); ModalComponentManager::getInstance()->attachCallback(sWindow_, ModalCallbackFunction::forComponent(dialogClosed, sExportDialog_.get()));