summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-11-22 22:14:50 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-11-22 22:14:50 (GMT)
commit2477002aea17c7c1ad1cc81c04b014a7e34b199a (patch)
tree7a8f7cfc6f00a05d0097ef656ae566daad647ebe
parent5a2871381640d27b8ac75facb36152f702c4d1b9 (diff)
downloadtk-2477002aea17c7c1ad1cc81c04b014a7e34b199a.zip
tk-2477002aea17c7c1ad1cc81c04b014a7e34b199a.tar.gz
tk-2477002aea17c7c1ad1cc81c04b014a7e34b199a.tar.bz2
[Bug 1991930] combobox dropdown needs to be topmost
-rw-r--r--ChangeLog4
-rw-r--r--library/ttk/combobox.tcl5
2 files changed, 4 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 6920857..177d133 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
2008-11-22 Pat Thoyts <patthoyts@users.sourceforge.net>
- * library/ttk/combobox.tcl: [Bug 1939129] combobox dropdown was
- drawn behind topmost toplevels.
+ * library/ttk/combobox.tcl: [Bug 1939129,1991930] combobox dropdown
+ was drawn behind topmost toplevels.
2008-11-19 Jan Nijtmans <nijtmans@users.sf.net>
diff --git a/library/ttk/combobox.tcl b/library/ttk/combobox.tcl
index 6dad7e0..c52f70c 100644
--- a/library/ttk/combobox.tcl
+++ b/library/ttk/combobox.tcl
@@ -1,5 +1,5 @@
#
-# $Id: combobox.tcl,v 1.12.2.1 2008/11/22 20:34:37 patthoyts Exp $
+# $Id: combobox.tcl,v 1.12.2.2 2008/11/22 22:14:50 patthoyts Exp $
#
# Combobox bindings.
#
@@ -391,8 +391,7 @@ proc ttk::combobox::Post {cb} {
# Post the listbox:
#
- wm attribute $popdown \
- -topmost [wm attribute [winfo toplevel $cb] -topmost]
+ wm attribute $popdown -topmost 1
wm deiconify $popdown
raise $popdown
}