From: <bi...@us...> - 2006-07-23 09:48:48
|
Revision: 7072 Author: billiob Date: 2006-07-23 02:48:42 -0700 (Sun, 23 Jul 2006) ViewCVS: http://svn.sourceforge.net/amsn/?rev=7072&view=rev Log Message: ----------- fix a bug when activating a plugin from the GUI when no plugin is selected. Thx to Yoda-BZH Modified Paths: -------------- trunk/amsn/plugins.tcl Modified: trunk/amsn/plugins.tcl =================================================================== --- trunk/amsn/plugins.tcl 2006-07-23 04:04:28 UTC (rev 7071) +++ trunk/amsn/plugins.tcl 2006-07-23 09:48:42 UTC (rev 7072) @@ -568,6 +568,9 @@ variable mF # find the id of the currently selected plugin + if { [ $w.plugin_list curselection ] == "" } { + return + } set selection [$w.plugin_list get [$w.plugin_list curselection]] # if the selection is empty, end proc if { $selection == "" } { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |