It would be easier for beginners to start using the program if there was a
default map displayed when starting the program for the first time (or if
there is no Merkaartor.conf file).

I've tested these simple changes out, and it seems to work.  I defaulted to
the OSM [EMAIL PROTECTED] map.


Index: Preferences/MerkaartorPreferences.cpp
===================================================================
--- Preferences/MerkaartorPreferences.cpp       (revision 12171)
+++ Preferences/MerkaartorPreferences.cpp       (working copy)
@@ -631,7 +631,7 @@

 bool MerkaartorPreferences::getBgVisible() const
 {
-       return Sets->value("backgroundImage/Visible", false).toBool();
+       return Sets->value("backgroundImage/Visible", true).toBool();
 }

 void MerkaartorPreferences::setBgVisible(bool theValue)
@@ -646,7 +646,7 @@

 ImageBackgroundType MerkaartorPreferences::getBgType() const
 {
-       return (ImageBackgroundType)Sets->value("backgroundImage/Type",
0).toInt();
+       return (ImageBackgroundType)Sets->value("backgroundImage/Type",
2).toInt();
 }

 QStringList MerkaartorPreferences::getBgTypes()
_______________________________________________
Merkaartor mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/merkaartor

Reply via email to