chiark / gitweb /
Insert the copy after the current one in the project planner, not at the end of the...
authordaid <daid303@gmail.com>
Thu, 26 Jul 2012 15:32:28 +0000 (17:32 +0200)
committerdaid <daid303@gmail.com>
Thu, 26 Jul 2012 15:32:28 +0000 (17:32 +0200)
Cura/gui/projectPlanner.py

index 521dce3845430f67a36d447b58e7a15c9987539e..71f208bc44c1f9b080f6d20eda6d06415a2fe2e6 100644 (file)
@@ -462,7 +462,7 @@ class projectPlanner(wx.Frame):
                        return\r
                \r
                item = self.selection.clone()\r
-               self.list.append(item)\r
+               self.list.insert(self.list.index(self.selection), item)\r
                self.selection = item\r
                \r
                self._updateListbox()\r