Code

Make icon preview seleciton stikcy by default.
authorJon A. Cruz <jon@joncruz.org>
Sun, 25 Jul 2010 07:37:14 +0000 (00:37 -0700)
committerJon A. Cruz <jon@joncruz.org>
Sun, 25 Jul 2010 07:37:14 +0000 (00:37 -0700)
src/preferences-skeleton.h
src/ui/dialog/icon-preview.cpp

index d7b93f13f743f0987a60b44e7acaba4c4fb74390..cabb13d4713f747a03feb6f7c744af4af62d409e 100644 (file)
@@ -393,7 +393,7 @@ static char const preferences_skeleton[] =
 "  <group\n"
 "     id=\"iconpreview\"\n"
 "     pack=\"1\"\n"
-"     selectionHold=\"0\"\n"
+"     selectionHold=\"1\"\n"
 "     showFrames=\"1\"\n"
 "     selectionOnly=\"0\">\n"
 "    <group\n"
index 2fb684a38becdec3b8429da2e5965c20cf1c4410..0eddfa285d9268949aa0a9ff1249f05336e6797d 100644 (file)
@@ -307,7 +307,7 @@ void IconPreviewPanel::refreshPreview()
         // Do not refresh too quickly
         queueRefresh();
     } else if ( desktop ) {
-        bool hold = Inkscape::Preferences::get()->getBool("/iconpreview/selectionHold", false);
+        bool hold = Inkscape::Preferences::get()->getBool("/iconpreview/selectionHold", true);
         if ( selectionButton && selectionButton->get_active() )
         {
             SPObject *target = (hold && !targetId.empty()) ? desktop->doc()->getObjectById( targetId.c_str() ) : 0;