mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-04 06:59:25 +00:00
Document why we call 'update_diff()' here
https://bugzilla.gnome.org/show_bug.cgi?id=720726
This commit is contained in:
parent
4622d83a28
commit
4c5a2f496b
|
@ -291,6 +291,8 @@ namespace Gitg
|
|||
return;
|
||||
}
|
||||
|
||||
// If both `d_diff` and `d_commit` are null, clear
|
||||
// the diff content
|
||||
if (d_diff == null && d_commit == null)
|
||||
{
|
||||
run_javascript.begin("update_diff();", d_cancellable, (obj, res) => {
|
||||
|
|
Loading…
Reference in a new issue