From 39885d389e9d54376c1837a2e62349e420a67a7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fauconnier?= Date: Mon, 1 Oct 2018 16:24:50 +0200 Subject: [PATCH] update actions on drop event (document_mode) --- src/document/UBDocumentController.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/document/UBDocumentController.cpp b/src/document/UBDocumentController.cpp index 779b0eaf..26daf150 100644 --- a/src/document/UBDocumentController.cpp +++ b/src/document/UBDocumentController.cpp @@ -1460,6 +1460,8 @@ void UBDocumentTreeView::dropEvent(QDropEvent *event) expand(proxy->mapFromSource(targetIndex)); QTreeView::dropEvent(event); + + UBApplication::documentController->updateActions(); } void UBDocumentTreeView::paintEvent(QPaintEvent *event)