ppbr export dialog mouse_capture
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user