mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Allow dragging and dropping ensemble data vectors into summary plots
This commit is contained in:
@@ -264,7 +264,7 @@ Qt::ItemFlags RiuDragDrop::flags( const QModelIndex& index ) const
|
||||
itemflags |= Qt::ItemIsDragEnabled;
|
||||
}
|
||||
auto sumAdr = dynamic_cast<RimSummaryAddress*>( uiItem );
|
||||
if ( sumAdr && sumAdr->canBeDragged() )
|
||||
if ( sumAdr )
|
||||
{
|
||||
itemflags |= Qt::ItemIsDragEnabled;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user