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

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent 3e26cc2367
commit d1ba52eb66
  1. 2
      src/document/UBDocumentController.cpp

@ -1189,7 +1189,7 @@ void UBDocumentController::selectionChanged()
deleteEnabled = false; deleteEnabled = false;
} }
if(pageSelected && firstSceneSelected) if(pageSelected && pageCount == 1)
deleteEnabled = false; deleteEnabled = false;
mMainWindow->actionDelete->setEnabled(deleteEnabled); mMainWindow->actionDelete->setEnabled(deleteEnabled);

Loading…
Cancel
Save