mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +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)))
|
(obj_is_text(obj) || obj_is_term_pane(obj)))
|
||||||
{
|
{
|
||||||
objxm_obj_set_ui_arg(subObj, AB_ARG_INT, XmNcolumns, num_cols);
|
objxm_obj_set_ui_arg(subObj, AB_ARG_INT, XmNcolumns, num_cols);
|
||||||
/*
|
if (obj_is_text(obj)) obj_clear_flag(obj, InstantiatedFlag);
|
||||||
obj_clear_flag(obj, InstantiatedFlag);
|
|
||||||
*/
|
|
||||||
obj_clear_flag(subObj, InstantiatedFlag);
|
obj_clear_flag(subObj, InstantiatedFlag);
|
||||||
}
|
}
|
||||||
else if (obj_is_choice(obj))
|
else if (obj_is_choice(obj))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue