Skip to content

Commit

Permalink
tidy cleanup subMenuFX
Browse files Browse the repository at this point in the history
  • Loading branch information
coderofsalvation committed Jul 5, 2023
1 parent cd09c58 commit d63efeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tracker/SampleEditorControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ SampleEditorControl::~SampleEditorControl()
delete editMenuControl;
delete subMenuAdvanced;
delete subMenuXPaste;
delete subMenuFX;
delete subMenuPT;
delete subMenuGenerators;
}
Expand Down Expand Up @@ -1221,6 +1222,7 @@ pp_int32 SampleEditorControl::handleEvent(PPObject* sender, PPEvent* event)
sender == reinterpret_cast<PPObject*>(subMenuAdvanced) ||
sender == reinterpret_cast<PPObject*>(subMenuXPaste) ||
sender == reinterpret_cast<PPObject*>(subMenuPT) ||
sender == reinterpret_cast<PPObject*>(subMenuFX) ||
sender == reinterpret_cast<PPObject*>(subMenuGenerators)) &&
event->getID() == eCommand)
{
Expand Down

0 comments on commit d63efeb

Please sign in to comment.