[Marble-commits] KDE/kdeedu/marble/src
Jens-Michael Hoffmann
jensmh at gmx.de
Sat May 1 00:37:37 CEST 2010
SVN commit 1121250 by jmhoffmann:
MarblePart: Disable "Get Hot New Stuff" and "Download Region" actions in offline mode.
M +2 -0 marble_part.cpp
--- trunk/KDE/kdeedu/marble/src/marble_part.cpp #1121249:1121250
@@ -358,6 +358,8 @@
void MarblePart::workOffline( bool offline )
{
m_controlView->marbleControl()->setWorkOffline( offline );
+ m_newStuffAction->setEnabled( !offline );
+ m_downloadRegionAction->setEnabled( !offline );
}
void MarblePart::copyMap()
More information about the Marble-commits
mailing list