1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtappbuilder: Fix a crash when resize a text pane. The crash is occurred when

drag on the scrollbar to resize.
This commit is contained in:
Liang Chang 2021-04-04 09:13:55 +08:00 committed by Jon Trulson
parent 7f7c2ca045
commit 44cba6f3d1

View file

@ -1064,9 +1064,7 @@ abobj_set_num_columns(
(obj_is_text(obj) || obj_is_term_pane(obj)))
{
objxm_obj_set_ui_arg(subObj, AB_ARG_INT, XmNcolumns, num_cols);
/*
obj_clear_flag(obj, InstantiatedFlag);
*/
if (obj_is_text(obj)) obj_clear_flag(obj, InstantiatedFlag);
obj_clear_flag(subObj, InstantiatedFlag);
}
else if (obj_is_choice(obj))