Skip to content

Commit

Permalink
Switch MSEG Rightclick Open/Close (#4568)
Browse files Browse the repository at this point in the history
Now offers to open when closed
  • Loading branch information
mynameismuhl authored May 20, 2021
1 parent 194ee00 commit 867465e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ target/
packages.config
CMakeSettings.json
.vscode
.cache

# XCode
Surge.xcworkspace/
Expand Down Expand Up @@ -84,6 +85,7 @@ buildmac/
buildwin/
buildxt/
build-arm/
build_lv2
buildiwyu/
cmake-build-*/
bwd/
Expand Down
4 changes: 2 additions & 2 deletions src/gui/CLFOGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1247,8 +1247,8 @@ void CLFOGui::openPopup(CPoint &where)

auto sge = dynamic_cast<SurgeGUIEditor *>(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)
Expand Down

0 comments on commit 867465e

Please sign in to comment.