diff options
author | Paul Mackerras <paulus@samba.org> | 2015-05-03 15:11:29 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2015-05-03 15:11:29 +1000 |
commit | eb859df85e480ae4aa76a0d8358054b10d91749c (patch) | |
tree | 9b408d97c649f644fcd248a7f1fd87d64d7742b8 /po/ca.po | |
parent | gitk: Replace catch {unset foo} with unset -nocomplain foo (diff) | |
download | tgif-eb859df85e480ae4aa76a0d8358054b10d91749c.tar.xz |
gitk: Fix error when changing colors after closing "List references" window
This fixes an error that manifests itself if the user opens the
"List references" window and the closes it, and subsequently opens
the Preferences window and changes one of the colors. When the
user clicks OK, and error popup appears with the message:
Error: invalid command name ".showrefs.list"
This is because .showrefs.list was added to the list of windows to
be notified on foreground/background color changes, but the window
no longer exists. We fix the bug by checking whether the window
exists before trying to change its colors. As an optimization, we
also avoid adding the .showrefs.list window to the list a second
time.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'po/ca.po')
0 files changed, 0 insertions, 0 deletions