diff options
author | patthoyts@users.sourceforge.net <patthoyts> | 2008-11-22 22:14:50 (GMT) |
---|---|---|
committer | patthoyts@users.sourceforge.net <patthoyts> | 2008-11-22 22:14:50 (GMT) |
commit | 3740c9166fbb00ecda790f5d3bdc64cadce454c5 (patch) | |
tree | 7a8f7cfc6f00a05d0097ef656ae566daad647ebe /library | |
parent | ebb27c5c91eb06085c04389706cd9143dd0a7397 (diff) | |
download | tk-3740c9166fbb00ecda790f5d3bdc64cadce454c5.zip tk-3740c9166fbb00ecda790f5d3bdc64cadce454c5.tar.gz tk-3740c9166fbb00ecda790f5d3bdc64cadce454c5.tar.bz2 |
[Bug 1991930] combobox dropdown needs to be topmost
Diffstat (limited to 'library')
-rw-r--r-- | library/ttk/combobox.tcl | 5 |
1 files changed, 2 insertions, 3 deletions
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 } |