Adds: drag and drop

This commit is contained in:
Olivier Keshavjee 2015-06-02 14:41:06 +02:00
parent 215a29d325
commit 8e3cde0e69

View file

@ -161,6 +161,7 @@ class MainWindow(QMainWindow, Ui_MainWindow):
def outlineAddItem(self, type="folder"):
currentIndex = self.treeRedacOutline.currentIndex()
print(currentIndex)
item = outlineItem("Nouveau", type)
self.mdlOutline.appendItem(item, currentIndex)