Commit e5259397 authored by Claes Sjofors's avatar Claes Sjofors

Ge window, didn't work for subwindows in subwindows of object graphs

parent 83a913a0
......@@ -917,7 +917,10 @@ void GrowWindow::new_ctx()
memcpy( window_ctx->event_callback, ctx->event_callback, sizeof( ctx->event_callback));
window_ctx->event_move_node = ctx->event_move_node;
window_ctx->background_disabled = 1;
strcpy( window_ctx->owner, owner);
if ( strcmp( owner, "$object") == 0)
strcpy( window_ctx->owner, ctx->owner);
else
strcpy( window_ctx->owner, owner);
window_ctx->customcolors = ctx->gdraw->create_customcolors();
if ( !no_file) {
......
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