summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-11-22 20:26:11 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-11-22 20:26:11 (GMT)
commita1b406abde47d849f33623e86dbae8d3e462f50a (patch)
treeef5548e0609df9eb6472f50b9aca687b4ac42c73 /library
parente3046584b984cb05eb01493cb2747365518f18b8 (diff)
downloadtk-a1b406abde47d849f33623e86dbae8d3e462f50a.zip
tk-a1b406abde47d849f33623e86dbae8d3e462f50a.tar.gz
tk-a1b406abde47d849f33623e86dbae8d3e462f50a.tar.bz2
[Bug 1939129] combobox dropdown was drawn behind topmost toplevels.
Diffstat (limited to 'library')
-rw-r--r--library/ttk/combobox.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/ttk/combobox.tcl b/library/ttk/combobox.tcl
index 1cb325c..5f50ca0 100644
--- a/library/ttk/combobox.tcl
+++ b/library/ttk/combobox.tcl
@@ -1,5 +1,5 @@
#
-# $Id: combobox.tcl,v 1.13 2008/10/28 20:02:03 jenglish Exp $
+# $Id: combobox.tcl,v 1.14 2008/11/22 20:26:11 patthoyts Exp $
#
# Combobox bindings.
#
@@ -405,6 +405,8 @@ proc ttk::combobox::Post {cb} {
# Post the listbox:
#
+ wm attribute $popdown \
+ -topmost [wm attribute [winfo toplevel $cb] -topmost]
wm deiconify $popdown
raise $popdown
}