One more try to understand OSX crashing on UnselectAll
This commit is contained in:
parent
a2eff85fa8
commit
79f2801d2a
1 changed files with 3 additions and 3 deletions
|
@ -731,13 +731,13 @@ void unselect_objects()
|
||||||
{
|
{
|
||||||
printf("UNSELECT OBJECTS\n");
|
printf("UNSELECT OBJECTS\n");
|
||||||
g_prevent_list_events = true;
|
g_prevent_list_events = true;
|
||||||
if (m_objects_ctrl->GetSelection())
|
if (m_objects_ctrl->GetSelection()) {
|
||||||
m_objects_ctrl->UnselectAll();
|
m_objects_ctrl->UnselectAll();
|
||||||
|
get_optgroup(ogFrequentlyObjectSettings)->disable();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
printf("all items are UNSELECTED\n");
|
printf("all items are UNSELECTED\n");
|
||||||
g_prevent_list_events = false;
|
g_prevent_list_events = false;
|
||||||
|
|
||||||
get_optgroup(ogFrequentlyObjectSettings)->disable();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void select_current_object(int idx)
|
void select_current_object(int idx)
|
||||||
|
|
Loading…
Reference in a new issue