Comment 3 for bug 889931

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

I think I got this one: LocationDialog::addCurrentLocationToList() calls listItemActivated(), which disables the "add location" button. The focus is moved to the next control in the tab order, which is the latitude spin box. If the user clicks on the "set as default" check box, the spin box loses focus, causing it to think that the value has been changed, as discussed in bug #881613. This in turn causes the name to be changed to "New Location".

I've fixed the bug by setting the focus to the location search box when the "add location" button is clicked:
http://bazaar.launchpad.net/~stellarium/stellarium/0.11/revision/4929