changeset 2599:93d065140133

Bug fix: Marks checkboxes in iconview The width of the marks checkboxes was not taken into account in icon view mode
author Tomasz Golinski <tomaszg@math.uwb.edu.pl>
date Sat, 16 Sep 2017 20:12:22 +0100
parents b8f3f29bd641
children c6a11c0bade8
files src/view_file/view_file_icon.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/view_file/view_file_icon.c	Thu Sep 14 10:38:09 2017 +0100
+++ b/src/view_file/view_file_icon.c	Sat Sep 16 20:12:22 2017 +0100
@@ -191,7 +191,7 @@
 {
 	gint width;
 
-	if (!VFICON(vf)->show_text) return options->thumbnails.max_width;
+	if (!VFICON(vf)->show_text && !vf->marks_enabled ) return options->thumbnails.max_width;
 
 	width = options->thumbnails.max_width + options->thumbnails.max_width / 2;
 	if (width < THUMB_MIN_ICON_WIDTH) width = THUMB_MIN_ICON_WIDTH;