Commit bd10bafe authored by Florent D'Halluin's avatar Florent D'Halluin
Browse files

[yavgui] Properly refresh interface when creating a new automaton.

* yavgui/src/gui.cc: Do that.
parent 0df966d4
2009-08-13 d-halluin <d-halluin@lrde.epita.fr>
[yavgui] Properly refresh interface when creating a new automaton.
* yavgui/src/gui.cc: Do that.
2009-08-10 d-halluin <d-halluin@lrde.epita.fr> 2009-08-10 d-halluin <d-halluin@lrde.epita.fr>
   
[yavgui] Catch exceptions when creating transitions. [yavgui] Catch exceptions when creating transitions.
......
...@@ -257,6 +257,7 @@ namespace gui ...@@ -257,6 +257,7 @@ namespace gui
AutomatonInstance& instance = make_new_instance (); AutomatonInstance& instance = make_new_instance ();
CATCH_EXCEPTIONS(instance.vcsn_automaton ().create (type);) CATCH_EXCEPTIONS(instance.vcsn_automaton ().create (type);)
instance.update (); instance.update ();
refresh();
} }
void Gui::load_automaton_from_file () void Gui::load_automaton_from_file ()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment