Commit 43ea8fc2 authored by -f's avatar -f

fixed issue with align button that wasn't deleted

parent 59133e42
......@@ -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();
}
......
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