summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoretienne2004-09-06 11:51:52 +0000
committeretienne2004-09-06 11:51:52 +0000
commita80ffa71dce832aac01154d7de371c1215f737e7 (patch)
treebe4e242d9b9678670aa0d178ac7eda6d84765eb2 /src
parent620663952417727c10645ca36a6f7e88bb673d8d (diff)
downloadivymon-a80ffa71dce832aac01154d7de371c1215f737e7.zip
ivymon-a80ffa71dce832aac01154d7de371c1215f737e7.tar.gz
ivymon-a80ffa71dce832aac01154d7de371c1215f737e7.tar.bz2
ivymon-a80ffa71dce832aac01154d7de371c1215f737e7.tar.xz
fixed bugs concerning listboxes
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ivymon1
1 files changed, 1 insertions, 0 deletions
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);