Skip to content

Commit

Permalink
Deselect all when setting a search target, to prevent confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Dec 17, 2023
1 parent 26828e0 commit aa82160
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/PluginEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1788,6 +1788,8 @@ bool PluginEditor::highlightSearchTarget(void* target, bool openNewTabIfNeeded)

viewport->setViewPosition(pos);
cnv->getTabbar()->setCurrentTabIndex(cnv->getTabIndex());
cnv->deselectAll();

return true;
}
}
Expand Down

0 comments on commit aa82160

Please sign in to comment.