Skip to content
Snippets Groups Projects
Commit c5ea58f4 authored by David Bühler's avatar David Bühler
Browse files

[gui] Fixes a crash on the error dialog.

For instance when evaluating an invalid ACSL term.
parent 03074fc7
No related branches found
No related tags found
No related merge requests found
...@@ -741,7 +741,7 @@ class error_manager ?reset (o_parent:GWindow.window_skel) : host = ...@@ -741,7 +741,7 @@ class error_manager ?reset (o_parent:GWindow.window_skel) : host =
() ()
in in
ignore (w#connect#response ~callback:(fun _ -> w#destroy ())); ignore (w#connect#response ~callback:(fun _ -> w#destroy ()));
ignore (w#run ()); ignore (w#show ());
if reset then f_reset () if reset then f_reset ()
method error ?parent ?(reset=false) fmt = method error ?parent ?(reset=false) fmt =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment