From 867465ebde7416bc97336555b39d8ff9e8f26d4c Mon Sep 17 00:00:00 2001 From: mynameismuhl <80534683+mynameismuhl@users.noreply.github.com> Date: Thu, 20 May 2021 13:07:48 +0200 Subject: [PATCH] Switch MSEG Rightclick Open/Close (#4568) Now offers to open when closed --- .gitignore | 2 ++ src/gui/CLFOGui.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 17fcfaf8bb6..877fcdf6a42 100644 --- a/.gitignore +++ b/.gitignore @@ -44,6 +44,7 @@ target/ packages.config CMakeSettings.json .vscode +.cache # XCode Surge.xcworkspace/ @@ -84,6 +85,7 @@ buildmac/ buildwin/ buildxt/ build-arm/ +build_lv2 buildiwyu/ cmake-build-*/ bwd/ diff --git a/src/gui/CLFOGui.cpp b/src/gui/CLFOGui.cpp index 1103cd79781..5080ee96ead 100644 --- a/src/gui/CLFOGui.cpp +++ b/src/gui/CLFOGui.cpp @@ -1247,8 +1247,8 @@ void CLFOGui::openPopup(CPoint &where) auto sge = dynamic_cast(listener); std::string openname = (sge && sge->isAnyOverlayPresent(SurgeGUIEditor::MSEG_EDITOR)) - ? "Open MSEG Editor" - : "Close MSEG Editor"; + ? "Close MSEG Editor" + : "Open MSEG Editor"; contextMenu.addItem(Surge::GUI::toOSCaseForMenu(openname), [this, sge]() { if (sge)