Skip to content
Snippets Groups Projects
Commit 0fd8dc69 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Enable enter to loop through search result

parent 184ecb82
Branches
Tags
No related merge requests found
...@@ -673,6 +673,7 @@ public class DesktopMenuToolbarViewController extends BasicMenuToolbarViewContro ...@@ -673,6 +673,7 @@ public class DesktopMenuToolbarViewController extends BasicMenuToolbarViewContro
field.setPromptText(Localization.getString(Strings.Search_Placeholder)); field.setPromptText(Localization.getString(Strings.Search_Placeholder));
Button button = new Button(Localization.getString(Strings.Search_Button)); Button button = new Button(Localization.getString(Strings.Search_Button));
button.setDefaultButton(true);
Project project = PlayPadMain.getProgramInstance().getCurrentProject(); Project project = PlayPadMain.getProgramInstance().getCurrentProject();
button.setOnAction(new DesktopSearchController(project, field, mainViewController)); button.setOnAction(new DesktopSearchController(project, field, mainViewController));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment