mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
small fix of drag&drop
This commit is contained in:
parent
e3ce206a48
commit
19ca6e51db
|
@ -304,7 +304,10 @@ void DictListWidget::dropEvent ( QDropEvent * event )
|
||||||
if ( sourceList && sourceList->model.sourceModel() )
|
if ( sourceList && sourceList->model.sourceModel() )
|
||||||
{
|
{
|
||||||
model.addSelectedUniqueFromModel( sourceList->selectionModel() );
|
model.addSelectedUniqueFromModel( sourceList->selectionModel() );
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QListView::dropEvent( event );
|
||||||
}
|
}
|
||||||
|
|
||||||
// DictGroupsWidget
|
// DictGroupsWidget
|
||||||
|
|
Loading…
Reference in a new issue