reorder documents tree when a document has been modified

preferencesAboutTextFull
Clément Fauconnier 5 years ago
parent 331d758db2
commit 88dee1f9e1
  1. 3
      src/core/UBApplicationController.cpp
  2. 2
      src/document/UBDocumentController.cpp

@ -438,7 +438,10 @@ void UBApplicationController::showDocument()
} }
if (UBApplication::documentController) if (UBApplication::documentController)
{
emit UBApplication::documentController->reorderDocumentsRequested();
UBApplication::documentController->show(); UBApplication::documentController->show();
}
mMainWindow->show(); mMainWindow->show();

@ -2268,6 +2268,8 @@ void UBDocumentController::duplicateSelectedItem()
showMessage(tr("Document %1 copied").arg(""), false); showMessage(tr("Document %1 copied").arg(""), false);
} }
emit reorderDocumentsRequested();
} }
void UBDocumentController::deleteSelectedItem() void UBDocumentController::deleteSelectedItem()

Loading…
Cancel
Save