The crash was caused by the fact that the location name is set to "SpaceShip" after a planet change. The code was trying to find its (localized) name in the list of planets in the QComboBox, but it wasn't there, so it crashed because it assumed that a result would always be found.
The problem was fixed by storing the original names in the user data fields of the QComboBox, instead of using calls to SolarSystem to look them up. Qt's user data fields seem to be a very useful thing when creating localizations.
The crash was caused by the fact that the location name is set to "SpaceShip" after a planet change. The code was trying to find its (localized) name in the list of planets in the QComboBox, but it wasn't there, so it crashed because it assumed that a result would always be found.
The problem was fixed by storing the original names in the user data fields of the QComboBox, instead of using calls to SolarSystem to look them up. Qt's user data fields seem to be a very useful thing when creating localizations.
The fix has been committed to the trunk branch as revision #4948: bazaar. launchpad. net/~stellarium /stellarium/ trunk/revision/ 4949
http://