summaryrefslogtreecommitdiff
path: root/grc/gui
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-01-15 15:00:24 -0500
committerTom Rondeau <trondeau@vt.edu>2013-01-15 15:00:24 -0500
commit5be31c3d79015beeabdd98ebf1c0152ae6caac8c (patch)
treee1d678b4b3dbb5b45c8ca43dfbd5d88451da66c4 /grc/gui
parent0c0473d51e2c4a4275a88db562791561288e8c15 (diff)
parente1e632469905f8c4b5f0d35c988744c77cf6a227 (diff)
Merge branch 'master' into next
Conflicts: gr-digital/examples/demod/ber_simulation.grc gr-digital/examples/demod/digital_freq_lock.grc gr-digital/examples/demod/pam_sync.grc gr-digital/examples/demod/pam_timing.grc
Diffstat (limited to 'grc/gui')
-rw-r--r--grc/gui/MainWindow.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/grc/gui/MainWindow.py b/grc/gui/MainWindow.py
index 16a4c63227..c2d661c668 100644
--- a/grc/gui/MainWindow.py
+++ b/grc/gui/MainWindow.py
@@ -188,6 +188,9 @@ class MainWindow(gtk.Window):
if file_path: Messages.send_end_load()
except Exception, e: #return on failure
Messages.send_fail_load(e)
+ if isinstance(e, KeyError) and str(e) == "'options'":
+ # This error is unrecoverable, so crash gracefully
+ exit(-1)
return
#add this page to the notebook
self.notebook.append_page(page, page.get_tab())