properly skip launching backend on "ok" in properties without value changes
authorGuillaume Cottenceau <gcottenc@gmail.com>
Fri, 1 Jan 2010 20:53:28 +0000 (21:53 +0100)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Fri, 1 Jan 2010 20:53:28 +0000 (21:53 +0100)
bin/booh

index e034207..a2bb51c 100644 (file)
--- a/bin/booh
+++ b/bin/booh
@@ -3810,7 +3810,7 @@ def properties
     save_quotehtml = quotehtml.active?
     dialog.destroy
     
-    if ok && (save_theme != theme || save_limit_sizes != limit_sizes || save_opt432 != opt432 || save_nperrow != nperrow || save_nperpage != nperpage || save_madewith != madewith || save_indexlink != indexlinkentry || save_multilanguages_value != multilanguages_value || save_quotehtml != quotehtml)
+    if ok && (save_theme != theme || save_limit_sizes != limit_sizes || save_opt432 != opt432 || save_nperrow != nperrow || save_nperpage != nperpage || save_madewith != madewith || save_indexlink != indexlink || save_multilanguages_value != multilanguages_value || save_quotehtml != qhtml || save_addthis != athis)
         #- some sort of automatic preferences
         if save_theme != theme
             $config['default-theme'] = save_theme
@@ -3821,10 +3821,10 @@ def properties
         if save_opt432 != opt432
             $config['default-optimize32'] = save_opt432.to_s
         end
-        if save_addthis != addthis
+        if save_addthis != athis
             $config['default-addthis'] = save_addthis.to_s
         end
-        if save_quotehtml != quotehtml
+        if save_quotehtml != qhtml
             $config['default-quotehtml'] = save_quotehtml.to_s
         end
         mark_document_as_dirty