Board mode: delete page message

preferencesAboutTextFull
Anatoly Mihalchenko 12 years ago
parent c33a10579a
commit 58746c87e5
  1. 2
      src/board/UBBoardController.cpp

@ -628,6 +628,7 @@ void UBBoardController::deleteScene(int nIndex)
{ {
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
persistCurrentScene(); persistCurrentScene();
showMessage(tr("Delete page %1 from document").arg(nIndex), true);
QList<int> scIndexes; QList<int> scIndexes;
scIndexes << nIndex; scIndexes << nIndex;
@ -638,6 +639,7 @@ void UBBoardController::deleteScene(int nIndex)
if (nIndex >= pageCount()) if (nIndex >= pageCount())
nIndex = pageCount()-1; nIndex = pageCount()-1;
setActiveDocumentScene(nIndex); setActiveDocumentScene(nIndex);
showMessage(tr("Page %1 deleted").arg(nIndex));
QApplication::restoreOverrideCursor(); QApplication::restoreOverrideCursor();
} }
} }

Loading…
Cancel
Save