From d424ae51fa05c14050d54379bdd8bf25f3ebe7d6 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Sun, 18 Jan 2015 21:44:34 +0000 Subject: [PATCH] Make sure we use dnd position if available. Fixes bug 1410843. Fixes: https://launchpad.net/bugs/1410843 --- openlp/core/ui/servicemanager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/ui/servicemanager.py b/openlp/core/ui/servicemanager.py index dd851b946..674ee2ae6 100644 --- a/openlp/core/ui/servicemanager.py +++ b/openlp/core/ui/servicemanager.py @@ -1396,7 +1396,8 @@ class ServiceManager(OpenLPMixin, RegistryMixin, QtGui.QWidget, Ui_ServiceManage if expand is None: expand = Settings().value('advanced/expand service item') item.from_service = True - self.drop_position = position + if position != -1: + self.drop_position = position if replace: s_item, child = self.find_service_item() item.merge(self.service_items[s_item]['service_item'])