From 83ef0a7d54482abeaaa02991853c2742a9643d86 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 8 Jul 2019 00:08:58 +0100 Subject: sisyphus-gui : try to maintain the focus on inputbox --- src/frontend/gui/sisyphus-gui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index 1e4d409..52dd829 100644 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -266,12 +266,14 @@ class Sisyphus(QtWidgets.QMainWindow): self.hideButtons() self.progressBar.setRange(0, 0) self.progressBar.show() + self.inputBox.setFocus() def hideProgressBar(self): self.progressBar.setRange(0, 1) self.progressBar.setValue(1) self.progressBar.hide() self.showButtons() + self.inputBox.setFocus() def hideButtons(self): self.installButton.hide() -- cgit v1.2.3