Skip to content

Commit 247530d

Browse files
committed
Fix welcome panel search input assert
1 parent c73f326 commit 247530d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/PluginEditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ PluginEditor::PluginEditor(PluginProcessor& p)
192192
welcomePanelSearchButton.setClickingTogglesState(true);
193193
welcomePanelSearchButton.onClick = [this](){
194194
welcomePanelSearchInput.setVisible(welcomePanelSearchButton.getToggleState());
195-
welcomePanelSearchInput.grabKeyboardFocus();
196195
if(welcomePanelSearchButton.getToggleState()) {
196+
welcomePanelSearchInput.grabKeyboardFocus();
197197
welcomePanel->setSearchQuery("");
198198
}
199199
};

0 commit comments

Comments
 (0)