mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-06-30 23:29:33 +00:00
Do not disable image diff tools
https://gitlab.gnome.org/GNOME/gitg/-/issues/372
This commit is contained in:
parent
6a6ca91592
commit
da0e21aa13
|
@ -61,9 +61,7 @@ class Gitg.DiffViewFileRendererImage : Gtk.Grid, DiffViewFileRenderer
|
|||
d_diff_image_overlay.cache = d_cache;
|
||||
d_diff_image_difference.cache = d_cache;
|
||||
|
||||
if (d_cache.old_pixbuf == null || d_cache.new_pixbuf == null ||
|
||||
d_cache.old_pixbuf.get_width() != d_cache.new_pixbuf.get_width() ||
|
||||
d_cache.old_pixbuf.get_height() != d_cache.new_pixbuf.get_height())
|
||||
if (d_cache.old_pixbuf == null || d_cache.new_pixbuf == null)
|
||||
{
|
||||
d_stack_switcher.sensitive = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user