2007-10-28 Gary Burton <gary.burton@zen.co.uk>
* src/DisplayTabs/_EnbeddedList.py: Fixed crash when doing a drag and drop with an object that was deleted from a list. issue # 1326 svn: r9261
This commit is contained in:
parent
36ad798989
commit
47c63757bd
@ -1,3 +1,7 @@
|
||||
2007-10-28 Gary Burton <gary.burton@zen.co.uk>
|
||||
* src/DisplayTabs/_EnbeddedList.py: Fixed crash when doing a drag and
|
||||
drop with an object that was deleted from a list. issue # 1326
|
||||
|
||||
2007-10-26 Stéphane Charette <stephanecharette@gmail.com>
|
||||
* src/plugins/NarrativeWeb.py: various: EOL should be <br> not <p>,
|
||||
date is now displayed in the user's locale, source references no
|
||||
|
@ -199,7 +199,7 @@ class EmbeddedList(ButtonTab):
|
||||
# if the is same object, we have a move, otherwise,
|
||||
# it is a standard drag-n-drop
|
||||
|
||||
if id(self) == selfid:
|
||||
if id(self) == selfid and self.get_selected() is not None:
|
||||
self._move(row_from, row, obj)
|
||||
else:
|
||||
self._handle_drag(row, obj)
|
||||
|
Loading…
Reference in New Issue
Block a user