aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xfetchmailconf9
2 files changed, 5 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index fc461bfe..5f318ec1 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ fetchmail-4.5.6 ():
* SDPS support, experimental version 2. Requires configure --enable-SDPS.
* Major FAQ update. Added geocities warning.
* Fix --configdump so embedded single and double quotes are handled.
+* Fix fetchmailconf that prevented deletion of first items in lists.
There are 254 people on fetchmail-friends and 267 on fetchmail-announce.
diff --git a/fetchmailconf b/fetchmailconf
index 574c6198..e6043000 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -7,7 +7,7 @@
#
# TO DO: Arrange for save and quit buttons to clean up all frames dependent
# on the current ones.
-version = "1.2"
+version = "1.3"
from Tkinter import *
from Dialog import *
@@ -444,10 +444,9 @@ class ListEdit(Frame):
if not select:
helpwin(listboxhelp)
else:
- index = string.atoi(select[0])
- if index:
- self.listwidget.delete(index)
- if self.list != None: del self.list[index]
+ index = string.atoi(select[0])
+ self.listwidget.delete(index)
+ if self.list != None: del self.list[index]
def ConfirmQuit(frame, context):
ans = Dialog(frame,