mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-19 04:12:29 +12:00
Adds: drag and drop
This commit is contained in:
parent
215a29d325
commit
8e3cde0e69
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue