Rewrite #30
@@ -633,6 +633,10 @@ class Spotlight(Box):
|
||||
widget.clicked()
|
||||
return
|
||||
|
||||
if self._current_results:
|
||||
self._activate_result(self._current_results[0])
|
||||
return
|
||||
|
||||
if self._active_plugin_entry:
|
||||
inst = self._active_plugin_entry.instance
|
||||
if inst:
|
||||
@@ -640,9 +644,6 @@ class Spotlight(Box):
|
||||
entry.set_text("")
|
||||
return
|
||||
|
||||
if self._current_results:
|
||||
self._activate_result(self._current_results[0])
|
||||
|
||||
# External commands
|
||||
def handle_external(self, command: str, text: str = "") -> bool:
|
||||
if command == "deep_reload" and text:
|
||||
|
||||
Reference in new issue
Block a user