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:
parent
7f7c2ca045
commit
44cba6f3d1
1 changed files with 1 additions and 3 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue