projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace egress on selection change with entering state_normal
[synfig.git]
/
synfig-studio
/
src
/
gtkmm
/
state_text.cpp
diff --git
a/synfig-studio/src/gtkmm/state_text.cpp
b/synfig-studio/src/gtkmm/state_text.cpp
index
8f7d0c9
..
c1912ab
100644
(file)
--- a/
synfig-studio/src/gtkmm/state_text.cpp
+++ b/
synfig-studio/src/gtkmm/state_text.cpp
@@
-34,6
+34,7
@@
#include <gtkmm/entry.h>
#include "state_text.h"
#include <gtkmm/entry.h>
#include "state_text.h"
+#include "state_normal.h"
#include "canvasview.h"
#include "workarea.h"
#include "app.h"
#include "canvasview.h"
#include "workarea.h"
#include "app.h"
@@
-132,7
+133,7
@@
public:
Smach::event_result event_layer_selection_changed_handler(const Smach::event& /*x*/)
{
if(egress_on_selection_change)
Smach::event_result event_layer_selection_changed_handler(const Smach::event& /*x*/)
{
if(egress_on_selection_change)
- throw Smach::egress_exception();
+ throw
&state_normal; //throw
Smach::egress_exception();
return Smach::RESULT_OK;
}
return Smach::RESULT_OK;
}