Commit a8c2c60 1 parent 20028cc commit a8c2c60 Copy full SHA for a8c2c60
File tree 2 files changed +14
-0
lines changed
src/app/root_stack/info_page/vulkan_info/feature_window
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,11 @@ mod imp {
93
93
} ) ,
94
94
) ;
95
95
96
+ self . search_entry
97
+ . connect_stop_search ( clone ! ( @weak obj as win => move |_search| {
98
+ win. close( ) ;
99
+ } ) ) ;
100
+
96
101
self . features_factory . connect_setup ( |_, list_item| {
97
102
let feature = VulkanFeature :: default ( ) ;
98
103
let row = VulkanFeatureRow :: new ( feature) ;
Original file line number Diff line number Diff line change @@ -19,6 +19,15 @@ template $VulkanFeaturesWindow: Window {
19
19
}
20
20
}
21
21
}
22
+
23
+ ShortcutController {
24
+ scope: global;
25
+
26
+ Shortcut {
27
+ trigger: "Escape|<Ctrl>w";
28
+ action: "action(window.close)";
29
+ }
30
+ }
22
31
}
23
32
24
33
SignalListItemFactory features_factory {}
You can’t perform that action at this time.
0 commit comments