ppbr export dialog mouse_capture

This commit is contained in:
2019-09-12 21:55:29 +02:00
parent 61bcd86d2c
commit c3a34d28c1
5 changed files with 23 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ void NodeDialogExportPPBR::init()
m_border_color = tpl->m_border_color;;
m_thinkness = tpl->m_thinkness;;
init_controls();
m_capture_children = false; // don't capture children events on mouse_capture
}
void NodeDialogExportPPBR::init_controls()
@@ -30,3 +31,9 @@ void NodeDialogExportPPBR::init_controls()
destroy();
};
}
void NodeDialogExportPPBR::added(Node* parent)
{
NodeBorder::added(parent);
mouse_capture();
}