Code

git gui: keep selected branch when remote is changed in push dialog
[git.git] / lib / transport.tcl
index 60e3a642c5fb7f1526c9feb1a1d3a495db7728f8..321f595d637f617f4d2280abc7be8a3e81d18ba6 100644 (file)
@@ -135,7 +135,9 @@ proc do_push_anywhere {} {
                        -value remote \
                        -variable push_urltype
                if {$use_ttk} {
-                       ttk::combobox $w.dest.remote_m -textvariable push_remote \
+                       ttk::combobox $w.dest.remote_m -state readonly \
+                               -exportselection false \
+                               -textvariable push_remote \
                                -values $all_remotes
                } else {
                        eval tk_optionMenu $w.dest.remote_m push_remote $all_remotes