Commit 370e5b37 authored by Aleksei Kanash's avatar Aleksei Kanash

Page 1 (not title) can be deleted.

parent 72f944bd
......@@ -624,7 +624,7 @@ void UBBoardController::duplicateItem(UBItem *item)
void UBBoardController::deleteScene(int nIndex)
{
if (selectedDocument()->pageCount()>2)
if (selectedDocument()->pageCount()>=2)
{
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
persistCurrentScene();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment