[Freeciv-Dev] [patch #5752] Use mapview center tile if unit selection dialog opened without focus unit

2015-01-31 Thread Marko Lindqvist
Update of patch #5752 (project freeciv):

  Status:  Ready For Test => Done   
 Assigned to:None => cazfi  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #5752] Use mapview center tile if unit selection dialog opened without focus unit

2015-01-25 Thread Marko Lindqvist
URL:
  

 Summary: Use mapview center tile if unit selection dialog
opened without focus unit
 Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 25 Jan 2015 10:09:31 AM EET
Category: client-gtk-3.0
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.5.0, 2.6.0, 3.0.0

___

Details:

Split from bug #20681

If unit selection dialog is being opened without focus units, it crashes due
to not having the reference tile usually set to be the one focus unit (or head
unit of multiple selected) stands on.

Avoid that crash by setting reference tile to be current mapview center tile
in that case.

Currently it's not possible to open the dialog without focus unit, so this is
not fixing an crash that would be already happening in curent code base.



___

File Attachments:


---
Date: Sun 25 Jan 2015 10:09:31 AM EET  Name: CenterTileUnitlessDialog.patch 
Size: 1kB   By: cazfi



___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev