Hot-fix follow up 71a0b626a9
This commit is contained in:
parent
71a0b626a9
commit
6d1eec0da6
@ -1418,8 +1418,7 @@ void ColourPicker::sys_color_changed()
|
||||
|
||||
PointCtrl::~PointCtrl()
|
||||
{
|
||||
if (sizer) {
|
||||
sizer->Clear();
|
||||
if (sizer && sizer->IsEmpty()) {
|
||||
delete sizer;
|
||||
sizer = nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user