update actions on drop event (document_mode)

preferencesAboutTextFull
Clément Fauconnier 6 years ago
parent 42fc2882a7
commit 39885d389e
  1. 2
      src/document/UBDocumentController.cpp

@ -1460,6 +1460,8 @@ void UBDocumentTreeView::dropEvent(QDropEvent *event)
expand(proxy->mapFromSource(targetIndex)); expand(proxy->mapFromSource(targetIndex));
QTreeView::dropEvent(event); QTreeView::dropEvent(event);
UBApplication::documentController->updateActions();
} }
void UBDocumentTreeView::paintEvent(QPaintEvent *event) void UBDocumentTreeView::paintEvent(QPaintEvent *event)

Loading…
Cancel
Save