Commit dd536480 authored by claes's avatar claes

Bugfix in keeping groups in pastebuffer

parent 2d9e3429
......@@ -461,6 +461,8 @@ int GrowCtx::event_handler( glow_eEvent event, int x, int y, int w, int h)
sts = a.a[i]->event_handler( event, x, y, fx, fy);
if ( sts == GLOW__NO_PROPAGATE)
break;
else if ( sts == GLOW__TERMINATED)
return sts;
}
break;
......@@ -1988,7 +1990,8 @@ void GrowCtx::clear_all( int keep_paste)
for ( j = 0; j < a_paste.a_size; j++)
{
if ( a_paste[j]->type() == glow_eObjectType_GrowNode ||
a_paste[j]->type() == glow_eObjectType_GrowSlider)
a_paste[j]->type() == glow_eObjectType_GrowSlider ||
a_paste[j]->type() == glow_eObjectType_GrowGroup)
{
found = ((GrowNode *) a_paste[j])->find_nc( a_nc[i]);
if ( found)
......
Markdown is supported
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