[Python Viewer] clear load error on successful reload, fixes #1116
This commit is contained in:
@@ -199,6 +199,9 @@ def _reload(
|
||||
path = load_tuple[2] if len(load_tuple) == 3 else ''
|
||||
simulate.load(m, d, path)
|
||||
|
||||
# Make sure any load_error message is cleared
|
||||
simulate.load_error = ''
|
||||
|
||||
if notify_loaded:
|
||||
notify_loaded()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user