mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
DnD-TV: Allow to specify TargetFlags
This commit is contained in:
parent
af69061644
commit
1078dc7eda
2 changed files with 3 additions and 3 deletions
|
|
@ -124,9 +124,9 @@ DnDTreeViewBase::add_drop_targets (list<TargetEntry>& targets)
|
|||
}
|
||||
|
||||
void
|
||||
DnDTreeViewBase::add_object_drag (int column, string type_name)
|
||||
DnDTreeViewBase::add_object_drag (int column, string type_name, TargetFlags flags)
|
||||
{
|
||||
draggable.push_back (TargetEntry (type_name, TargetFlags(0)));
|
||||
draggable.push_back (TargetEntry (type_name, flags));
|
||||
data_column = column;
|
||||
object_type = type_name;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue