[Gambas-devel] 2-2.21.0: QT ComboBox loses .Text value upon execution

Benoît Minisini gambas at ...1...
Sat Jul 31 01:30:45 CEST 2010


> Bugzilla from gambas at ...1... wrote:
> > Always the last one. Maybe you should provide your source code so that if
> > I
> > see we are talking about the same problem...
> 
> I've attached a project using QT that exhibits the problem. It has one
> combobox control with list values 1, 2, 3 and 4. The Text property is set
> to "Soon to be gone". Running it with QT shows "1" and running it with GTK
> shows "Soon to be gone".
> 
> http://old.nabble.com/file/p29309812/Test.tar.bz2 Test.tar.bz2
> 

Can you try the latest revision? I tried to fix the behaviour of the ComboBox, 
both in gb.qt and gb.gtk. The problem was the order in which ReadOnly, Text 
and List properties were set. Now, you should be able to set them in any 
order, and get the expected result.

Regards,

-- 
Benoît Minisini




More information about the Devel mailing list