summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-02-07 16:57:03 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-02-07 16:57:03 +0000
commit511b42f0b720e309b6b26516e5fed639955b15d8 (patch)
tree68ca9f0a2a59f7edb41bbb4ff1a052fcf9f8b001 /gui.py
parent0b05f93c45e4ef1e683381244df3a78e10e18921 (diff)
downloadanaconda-511b42f0b720e309b6b26516e5fed639955b15d8.tar.gz
anaconda-511b42f0b720e309b6b26516e5fed639955b15d8.tar.xz
anaconda-511b42f0b720e309b6b26516e5fed639955b15d8.zip
* gui.py (InstallerControlWindow.nextClicked): Force focus to the
Next button on the keyboard screen. Otherwise, pressing Enter will load the release notes.
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index 7ac0cd275..45d3ffa91 100755
--- a/gui.py
+++ b/gui.py
@@ -943,6 +943,12 @@ class InstallControlWindow:
self.dispatch.gotoNext()
self.dir = 1
+ # make sure Next button has focus on keyboard screen
+ # if you press Enter, it would load release notes
+ (step, args) = self.dispatch.currentStep()
+ if step == "keyboard":
+ self.mainxml.get_widget("nextButton").grab_focus()
+
self.setScreen ()
def loadReleaseNotes(self):