[Python Viewer] clear load error on successful reload, fixes #1116

This commit is contained in:
Levi Burner
2024-03-21 12:47:56 -04:00
parent b0daccc234
commit af38845280
+3
View File
@@ -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()