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_polygon.cpp
diff --git
a/synfig-studio/src/gtkmm/state_polygon.cpp
b/synfig-studio/src/gtkmm/state_polygon.cpp
index
c016f1d
..
6059648
100644
(file)
--- a/
synfig-studio/src/gtkmm/state_polygon.cpp
+++ b/
synfig-studio/src/gtkmm/state_polygon.cpp
@@
-38,6
+38,7
@@
#include <synfig/valuenode_bline.h>
#include "state_polygon.h"
#include <synfig/valuenode_bline.h>
#include "state_polygon.h"
+#include "state_normal.h"
#include "canvasview.h"
#include "workarea.h"
#include "app.h"
#include "canvasview.h"
#include "workarea.h"
#include "app.h"
@@
-171,7
+172,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;
}