From a80ffa71dce832aac01154d7de371c1215f737e7 Mon Sep 17 00:00:00 2001 From: etienne Date: Mon, 6 Sep 2004 11:51:52 +0000 Subject: fixed bugs concerning listboxes --- src/ivymon | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/ivymon b/src/ivymon index 3b4a3f3..3bfda55 100755 --- a/src/ivymon +++ b/src/ivymon @@ -1598,6 +1598,7 @@ sub sendMsg { sub selectMsgToSend { $sendEntry->focus; my $selindex = $sendList->curselection; + return unless defined $selindex; my $selected = $sendList->get($selindex); $sendEntry->delete(0, 'end'); $sendEntry->insert(0, $selected); -- cgit v1.1