diff --git a/mainwindow.ui b/mainwindow.ui
index df45eff..c20b508 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -310,6 +310,8 @@
+
+
diff --git a/qubesmanager/main.py b/qubesmanager/main.py
index 9af0e39..a6077e2 100755
--- a/qubesmanager/main.py
+++ b/qubesmanager/main.py
@@ -703,6 +703,10 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
self.showhide_vms()
self.set_table_geom_size()
+ @pyqtSlot(name='on_action_search_triggered')
+ def action_search_triggered(self):
+ self.searchbox.setFocus()
+
def mark_table_for_update(self):
self.reload_table = True