diff options
author | Arpit Gupta <guptarpit1997@gmail.com> | 2019-03-19 02:24:07 +0530 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-06-18 22:33:28 -0700 |
commit | 9fec5882536985d8d5f3065896efe035df5ae562 (patch) | |
tree | a8ed8998beea0d10728c8879c6903158df061eb3 /grc/gui/MainWindow.py | |
parent | 45d3edc11f681e1d6403911a2eb814a139f0436b (diff) |
GRC: Fix for GRC crash in case of flowgraph error
Diffstat (limited to 'grc/gui/MainWindow.py')
-rw-r--r-- | grc/gui/MainWindow.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/grc/gui/MainWindow.py b/grc/gui/MainWindow.py index e737610a79..7d0337856e 100644 --- a/grc/gui/MainWindow.py +++ b/grc/gui/MainWindow.py @@ -260,6 +260,13 @@ class MainWindow(Gtk.ApplicationWindow): flow_graph=flow_graph, file_path=file_path, ) + if str(Messages.flowgraph_error) is not None: + Messages.send( + ">>> Check: {}\n>>> FlowGraph Error: {}\n".format( + str(Messages.flowgraph_error_file), + str(Messages.flowgraph_error) + ) + ) if file_path: Messages.send_end_load() except Exception as e: #return on failure Messages.send_fail_load(e) |