fixed issue with erase background when the is no background

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent 2c7eda9c02
commit 58b994ed07
  1. 2
      src/domain/UBGraphicsScene.cpp

@ -1095,8 +1095,10 @@ void UBGraphicsScene::clearContent(clearCase pCase)
switch (pCase) { switch (pCase) {
case clearBackground : case clearBackground :
if(mBackgroundObject){
removeItem(mBackgroundObject); removeItem(mBackgroundObject);
removedItems << mBackgroundObject; removedItems << mBackgroundObject;
}
break; break;
case clearItemsAndAnnotations : case clearItemsAndAnnotations :

Loading…
Cancel
Save