Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2003:
[Freeciv-Dev] Re: (PR#3514) CMA dialog isn't updated
Home

[Freeciv-Dev] Re: (PR#3514) CMA dialog isn't updated

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3514) CMA dialog isn't updated
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Thu, 6 Mar 2003 01:23:24 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Mon, Feb 24, 2003 at 01:47:53AM -0800, Jason Short wrote:
> 
> If I try to use a CMA preset that the city can't achieve (because the
> minimums are too high), the "control city" button will be deselected. 
> If I then make a change elsewhere that allows this preset to be used (in
> this case, disbanding a unit), the button stays deselected (even when I
> switch between tabs).  I have to select a different preset, then return
> to the original one to have the buttons be updated.

This would require updating this button status for every city
update. *looking* refresh_city_dialog _calls_ refresh_cma_dialog. And
it looks like refresh_cma_dialog does the correct thing.

Can you please test with a freelog if refresh_city_dialog is called in
such an event (unit disbanding) and if not add the call to
refresh_city_dialog in packhand.c and test again.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  One nuclear bomb can ruin your whole day.




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#3514) CMA dialog isn't updated, Raimar Falke <=