From de8b097e3dfea6874224e662443f3b53d6d71ebb Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Sat, 25 Feb 2006 17:00:09 +0000 Subject: [PATCH] Fixed behavoir when Delete button is hit when description is modified --- imgcomment | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imgcomment b/imgcomment index 1b972ac..8b8f6a5 100755 --- a/imgcomment +++ b/imgcomment @@ -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]] -- 2.39.5