summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-07-08 00:08:58 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-07-08 00:08:58 +0100
commit83ef0a7d54482abeaaa02991853c2742a9643d86 (patch)
treeb5e90e76a16e157d47959ddc1ebb3bfae85941db
parent2172358493cfc27db585d150d5305aa07a7563db (diff)
sisyphus-gui : try to maintain the focus on inputbox
-rw-r--r--src/frontend/gui/sisyphus-gui.py2
1 files changed, 2 insertions, 0 deletions
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()