]> www.wagner.pp.ru Git - oss/imgwww.git/commitdiff
Fixed behavoir when Delete button is hit when description is modified
authorVictor Wagner <vitus@wagner.pp.ru>
Sat, 25 Feb 2006 17:00:09 +0000 (17:00 +0000)
committerVictor Wagner <vitus@wagner.pp.ru>
Sat, 25 Feb 2006 17:00:09 +0000 (17:00 +0000)
imgcomment

index 1b972ac57eea457d6b2107d65d0a7c3b1ea3754a..8b8f6a51136e60e590f5a3b59bd9315412a14362 100755 (executable)
@@ -121,6 +121,9 @@ proc delete_file {index} {
        }       
                
        file delete $filename
+       .info.comment edit reset
+       .info.comment edit modified n
+       
        if {$index == $filecount-1} {
                global current
                set filelist [lrange $filelist 0 [expr $index-1]]