Skip to content

Commit 6fc3876

Browse files
committed
Fix channel selector updating
1 parent 0589875 commit 6fc3876

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Source/Processors/RecordNode/RecordNodeEditor.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,10 +509,10 @@ void FifoMonitor::mouseDown(const MouseEvent &event)
509509
CallOutBox& myBox
510510
= CallOutBox::launchAsynchronously (std::unique_ptr<Component>(channelSelector), getScreenBounds(), nullptr);
511511

512-
myBox.addComponentListener(this);
512+
//myBox.addComponentListener(this);
513513

514514
}
515-
515+
/* No longer called -- all updates happen before the callout box is closed
516516
void FifoMonitor::componentBeingDeleted(Component &component)
517517
{
518518
// called when popup window closes
@@ -526,6 +526,7 @@ void FifoMonitor::componentBeingDeleted(Component &component)
526526
}
527527
528528
}
529+
*/
529530

530531
void FifoMonitor::channelStateChanged(Array<int> selectedChannels)
531532
{

Source/Processors/RecordNode/RecordNodeEditor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class FifoMonitor : public Component,
8181
void mouseDown(const MouseEvent &event);
8282

8383
/** Called when channel selection popup is closed */
84-
void componentBeingDeleted(Component &component);
84+
//void componentBeingDeleted(Component &component);
8585

8686
std::vector<bool> channelStates;
8787

0 commit comments

Comments
 (0)