projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some included I missed in the precious commit.
[synfig.git]
/
synfig-studio
/
src
/
gtkmm
/
state_gradient.cpp
diff --git
a/synfig-studio/src/gtkmm/state_gradient.cpp
b/synfig-studio/src/gtkmm/state_gradient.cpp
index
c8461b5
..
bc6c3ad
100644
(file)
--- a/
synfig-studio/src/gtkmm/state_gradient.cpp
+++ b/
synfig-studio/src/gtkmm/state_gradient.cpp
@@
-37,6
+37,7
@@
#include <synfigapp/action_system.h>
#include "state_gradient.h"
#include <synfigapp/action_system.h>
#include "state_gradient.h"
+#include "state_normal.h"
#include "canvasview.h"
#include "workarea.h"
#include "app.h"
#include "canvasview.h"
#include "workarea.h"
#include "app.h"
@@
-144,7
+145,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;
}
@@
-367,7
+368,9
@@
StateGradient_Context::~StateGradient_Context()
Smach::event_result
StateGradient_Context::event_stop_handler(const Smach::event& /*x*/)
{
Smach::event_result
StateGradient_Context::event_stop_handler(const Smach::event& /*x*/)
{
- throw Smach::egress_exception();
+ //throw Smach::egress_exception();
+ throw &state_normal;
+ return Smach::RESULT_OK;
}
Smach::event_result
}
Smach::event_result