refresh is not undoable and doesn't change the album, however we must regenerate...
authorgc <gc>
Sat, 16 Feb 2008 22:49:57 +0000 (22:49 +0000)
committergc <gc>
Sat, 16 Feb 2008 22:49:57 +0000 (22:49 +0000)
bin/booh

index 463739f9524de345ac6766ce8569480895b7f0c0..4cc0f8858e41532952033fc29e69a538a289a4c9 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -1142,6 +1142,9 @@ def add_thumbnail(autotable, filename, type, thumbnail_img, caption)
 
     refresh = proc {
         cleanup_all_thumbnails.call
+        #- refresh is not undoable and doesn't change the album, however we must regenerate all thumbnails when generating the album
+        $modified = true
+        $xmldir.delete_attribute('already-generated')
         my_gen_real_thumbnail.call
     }