[Marble-commits] KDE/kdeedu/marble/src/plugins/render/routing
Dennis Nienhüser
earthwings at gentoo.org
Thu Jan 6 16:07:49 CET 2011
SVN commit 1212331 by nienhueser:
Updates to widget elements must trigger cache invalidation now.
M +3 -0 RoutingPlugin.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/routing/RoutingPlugin.cpp #1212330:1212331
@@ -152,6 +152,7 @@
{
bool const hasRoute = m_routingModel->rowCount() > 0;
m_widget.routingButton->setEnabled( hasRoute );
+ m_widgetItem->update();
}
void RoutingPluginPrivate::forceRepaint()
@@ -303,6 +304,8 @@
m_widget.instructionLabel->setText( richText( "%1", fontSize ).arg( content ) );
}
}
+
+ m_widgetItem->update();
}
void RoutingPluginPrivate::updateGpsButton( PositionProviderPlugin *activePlugin )
More information about the Marble-commits
mailing list