Hot-fix follow up 71a0b626a9
This commit is contained in:
parent
71a0b626a9
commit
6d1eec0da6
1 changed files with 1 additions and 2 deletions
|
@ -1418,8 +1418,7 @@ void ColourPicker::sys_color_changed()
|
||||||
|
|
||||||
PointCtrl::~PointCtrl()
|
PointCtrl::~PointCtrl()
|
||||||
{
|
{
|
||||||
if (sizer) {
|
if (sizer && sizer->IsEmpty()) {
|
||||||
sizer->Clear();
|
|
||||||
delete sizer;
|
delete sizer;
|
||||||
sizer = nullptr;
|
sizer = nullptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue