summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-26 05:37:49 +0000
committerMike Fulbright <msf@redhat.com>2002-06-26 05:37:49 +0000
commit21cfd53518790a49e4592160a124d0b0ec52c026 (patch)
tree06737592e294d7b8526dfe37afe3265559b1e688 /gui.py
parent002eedbb27dd9ee4153c97ff44c1838b1b4c33c7 (diff)
downloadanaconda-21cfd53518790a49e4592160a124d0b0ec52c026.tar.gz
anaconda-21cfd53518790a49e4592160a124d0b0ec52c026.tar.xz
anaconda-21cfd53518790a49e4592160a124d0b0ec52c026.zip
be more paranoid about if idle handler ran too early
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index 63f4c58d9..b2f136838 100755
--- a/gui.py
+++ b/gui.py
@@ -90,6 +90,9 @@ def scrollToIdleHandler((view, store, iddict)):
return
selection = view.get_selection()
+ if not selection:
+ return
+
model, iter = selection.get_selected()
if not iter:
return