fixed issue with align button that wasn't deleted

preferencesAboutTextFull
-f 11 years ago
parent 59133e42f5
commit 43ea8fc25b
  1. 6
      src/domain/UBGraphicsTextItemDelegate.cpp

@ -215,9 +215,9 @@ void UBGraphicsTextItemDelegate::freeButtons()
delete mIncreaseSizeButton;
mIncreaseSizeButton = 0;
mButtons.removeOne(mIncreaseSizeButton);
delete mIncreaseSizeButton;
mIncreaseSizeButton = 0;
mButtons.removeOne(mAlignButton);
delete mAlignButton;
mAlignButton = 0;
UBGraphicsItemDelegate::freeButtons();
}

Loading…
Cancel
Save