Commit 3d8a8d8
committed
git-gui: update in-memory config when changing config options
When the user updates any config variable from the options menu, the new
config gets saved, but the in-memory state of the config variables is
not updated. This results in the old settings being used until the user
either opens the options menu again (which triggers a call to
load_config), or re-starts git-gui.
This change fixes that problem by re-loading the config variables when
the Save button is pressed in the options menu.
Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>1 parent 5ab7227 commit 3d8a8d8
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| 347 | + | |
347 | 348 | | |
348 | 349 | | |
349 | 350 | | |
0 commit comments