[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Tue May 11 23:55:40 CEST 2010
SVN commit 1125664 by jmhoffmann:
DownloadRegionDialog: Also update the lat/lon widget, but only if it is not enabled,
to prevent that users loose their entered values.
M +5 -0 DownloadRegionDialog.cpp
--- trunk/KDE/kdeedu/marble/src/lib/DownloadRegionDialog.cpp #1125663:1125664
@@ -294,6 +294,11 @@
void DownloadRegionDialog::setVisibleLatLonAltBox( GeoDataLatLonAltBox const & region )
{
d->m_visibleRegion = region;
+ // update lat/lon widget only if not active to prevent that users unintentionally loose
+ // entered values
+ if ( !d->m_latLonBoxWidget->isEnabled() ) {
+ d->m_latLonBoxWidget->setLatLonBox( region );
+ }
updateTilesCount();
}
More information about the Marble-commits
mailing list