Skip to content

Commit bf6a6f6

Browse files
committed
Allow filtering plugins with multiple type labels
1 parent c7a9552 commit bf6a6f6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Source/UI/PluginInstaller.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -539,9 +539,9 @@ void PluginInstallerComponent::buttonClicked(Button* button)
539539

540540
int containsType = 0;
541541

542-
bool isSource = label.equalsIgnoreCase("source");
543-
bool isFilter = label.equalsIgnoreCase("filter");
544-
bool isSink = label.equalsIgnoreCase("sink");
542+
bool isSource = label.containsWholeWordIgnoreCase("source");
543+
bool isFilter = label.containsWholeWordIgnoreCase("filter");
544+
bool isSink = label.containsWholeWordIgnoreCase("sink");
545545
bool isOther = isSource ? false : (isFilter ? false : (isSink ? false : true));
546546

547547
if(sourceState && isSource)

0 commit comments

Comments
 (0)