aboutsummaryrefslogtreecommitdiff
path: root/fiv-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'fiv-browser.c')
-rw-r--r--fiv-browser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fiv-browser.c b/fiv-browser.c
index 4b438ab..0f05e84 100644
--- a/fiv-browser.c
+++ b/fiv-browser.c
@@ -604,6 +604,8 @@ static void
thumbnailers_start(FivBrowser *self)
{
thumbnailers_abort(self);
+ if (!self->model)
+ return;
// TODO(p): Leave out all paths containing .cache/thumbnails altogether.
gchar *thumbnails_dir = fiv_thumbnail_get_root();
@@ -909,6 +911,7 @@ set_item_size(FivBrowser *self, FivThumbnailSize size)
self->item_size = size;
self->item_height = fiv_thumbnail_sizes[self->item_size].size;
reload_thumbnails(self);
+ thumbnailers_start(self);
g_object_notify_by_pspec(
G_OBJECT(self), browser_properties[PROP_THUMBNAIL_SIZE]);