Commit d1ba52eb authored by Claudio Valerio's avatar Claudio Valerio

on document mode is possible to remove the first page if the document contains more than one page

parent 3e26cc23
......@@ -1189,7 +1189,7 @@ void UBDocumentController::selectionChanged()
deleteEnabled = false;
}
if(pageSelected && firstSceneSelected)
if(pageSelected && pageCount == 1)
deleteEnabled = false;
mMainWindow->actionDelete->setEnabled(deleteEnabled);
......
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