|
|
@ -624,7 +624,7 @@ void UBBoardController::duplicateItem(UBItem *item) |
|
|
|
|
|
|
|
|
|
|
|
void UBBoardController::deleteScene(int nIndex) |
|
|
|
void UBBoardController::deleteScene(int nIndex) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (selectedDocument()->pageCount()>2) |
|
|
|
if (selectedDocument()->pageCount()>=2) |
|
|
|
{ |
|
|
|
{ |
|
|
|
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); |
|
|
|
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); |
|
|
|
persistCurrentScene(); |
|
|
|
persistCurrentScene(); |
|
|
|