[Marble-commits] KDE/kdeedu/marble/src/lib/routing
Dennis Nienhüser
earthwings at gentoo.org
Tue Aug 3 10:10:36 CEST 2010
SVN commit 1158604 by nienhueser:
Also show the combo box if only one route exists
M +1 -1 RoutingWidget.cpp
--- trunk/KDE/kdeedu/marble/src/lib/routing/RoutingWidget.cpp #1158603:1158604
@@ -532,7 +532,7 @@
}
}
- d->m_ui.routeComboBox->setVisible( d->m_ui.routeComboBox->count() > 1 );
+ d->m_ui.routeComboBox->setVisible( d->m_ui.routeComboBox->count() > 0 );
if ( d->m_ui.routeComboBox->currentIndex() < 0 && d->m_ui.routeComboBox->count() > 0 ) {
d->m_ui.routeComboBox->setCurrentIndex( 0 );
}
More information about the Marble-commits
mailing list