summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2003-02-15 02:10:41 +0000
committerMartin Hunt <hunt@redhat.com>2003-02-15 02:10:41 +0000
commitdf684a8ad852d2a7ab97cead64dac97447646bad (patch)
tree7063aec6f0c59bad9c37c747fae53991d923b6ff
parent64d72b7300d83ffe049022998e704524354b9efb (diff)
downloadgdb-df684a8ad852d2a7ab97cead64dac97447646bad.tar.gz
2003-02-14 Martin M. Hunt <hunt@redhat.com>
* library/globalpref.itb (GlobalPref::_change_icons): Fix curselection call for combobox.
-rw-r--r--gdb/gdbtk/ChangeLog5
-rw-r--r--gdb/gdbtk/library/globalpref.itb3
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index e94e97e7a6a..23d2a5034b6 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-14 Martin M. Hunt <hunt@redhat.com>
+
+ * library/globalpref.itb (GlobalPref::_change_icons): Fix
+ curselection call for combobox.
+
2003-02-12 Andrew Cagney <ac131313@redhat.com>
* generic/gdbtk-hooks.c (tk_command_loop): Move function ...
diff --git a/gdb/gdbtk/library/globalpref.itb b/gdb/gdbtk/library/globalpref.itb
index e3502b807ac..af727e33c23 100644
--- a/gdb/gdbtk/library/globalpref.itb
+++ b/gdb/gdbtk/library/globalpref.itb
@@ -314,8 +314,7 @@ itcl::body GlobalPref::_resize_font_item_height {} {
# PRIVATE METHOD: _change_icons
# ------------------------------------------------------------------
itcl::body GlobalPref::_change_icons {w args} {
- debug
- set index [$w list curselection]
+ set index [$w curselection]
if {$index != ""} {
set _new(gdb/ImageDir) [lindex $_icondirlist $index]
}