On Fri, 04 Oct 2013 11:50:53 +0200
Michael Vehrs <[email protected]> wrote:
> At the moment, I am experiencing the following option-related glitch: If 
> I view the immigration section of the difficulty settings, the unit type 
> of the immigrant is displayed only once. On every repaint, it is blank. 
> If I change the section and return to the immigration section, the whole 
> list option is no longer displayed. There are no errors in the log file.

Yes, I saw that too the other day.  It predates my working on dialogs, but
IIRC it was working correctly when we were hacking at Roles.
Coincidentally I have just reached ClientOptionsDialog et al, but AFAICT
the problem is somewhere in the UI code which I do not understand and do
not need to touch for the FreeColDialog cutover.

>[Rolling back one message]
> I'm afraid I don't understand your question about the String or 
> SelectOption values, though.

Options like model.option.buildOnNativeLand (with choices in custom mode)
correctly have .name and .shortDescription forms, and can thus display a 
tooltip.
However the *values* of buildOnNativeLand (e.g.
model.option.buildOnNativeLand.always) do not have .name/.shortDescription.  I
think they should, but do not see how to make this happen cleanly.

Cheers,
Mike Pope

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Freecol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to