fixed issue with erase background when the is no background

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

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

Loading…
Cancel
Save