mirror of
https://github.com/git/git.git
synced 2024-11-05 08:47:56 +01:00
git gui: keep selected branch when remote is changed in push dialog
The selection of the branch to be pushed would be cleared when the remote was changed. This seems to be dependent on the fact that the selected content in the combobox was exported to the clipboard. It was only apparent when using the new ttk widget. Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
This commit is contained in:
parent
bf59439847
commit
9e34e62bcb
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue