Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 395404a

Browse files
author
runrevali
committed
[[ Bug 13089 ]] Setting text of a combobox does not set the label
1 parent ba9249f commit 395404a

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

docs/notes/bugfix-13089.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Setting text of a combobox does not set the label

engine/src/button.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3840,8 +3840,10 @@ bool MCButton::resetlabel()
38403840
{
38413841
/* UNCHECKED */ MCStringCopySubstring(menustring, t_range, &t_label);
38423842
}
3843+
3844+
// AL-2014-08-04: [[ Bug 13089 ]] Set entry text to new label
38433845
if (entry != NULL)
3844-
entry->settext(0, label, False);
3846+
entry->settext(0, *t_label, False);
38453847

38463848
if (!MCStringIsEqualTo(label, *t_label, kMCStringOptionCompareExact))
38473849
{

0 commit comments

Comments
 (0)