5439: Wrong row when dragging upwards to move items in embedded list

svn: r18626
This commit is contained in:
Michiel Nauta
2011-12-18 10:06:39 +00:00
parent 3cb96532dc
commit cce7dcc43c
3 changed files with 3 additions and 3 deletions

View File

@ -526,7 +526,7 @@ class GalleryTab(ButtonTab, DbGUIElement):
del dlist[row_from]
else:
del dlist[row_from]
dlist.insert(row_to-1, obj)
dlist.insert(row_to, obj)
self.changed = True
self.rebuild()