Skip to content

Commit eb656fa

Browse files
committed
Merge pull request #19 from odalet/master
Fixing issue #18: Drag n'drop not working anymore after reordering items
2 parents 6e0fea5 + 3ec17bd commit eb656fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WindowsPathEditor/DragDropListBox/DraggedAdorner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public void SetPosition(double left, double top)
3535
// near the mouse cursor when dragging.
3636
this.left = left - 1;
3737
this.top = top + 13;
38-
if (this.adornerLayer != null)
38+
if (this.adornerLayer != null && this.contentPresenter.Content != null)
3939
{
4040
this.adornerLayer.Update(this.AdornedElement);
4141
}

0 commit comments

Comments
 (0)