Skip to content

Commit f21d666

Browse files
jeremypwdanirabbit
andauthored
AbstractDirectoryView: Set should_thumbnail when done loading (#2758)
Co-authored-by: Danielle Foré <danielle@elementary.io>
1 parent 1d6672a commit f21d666

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/View/AbstractDirectoryView.vala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,8 @@ namespace Files {
337337
draw_when_idle ();
338338
});
339339

340-
set_should_thumbnail ();
341-
342340
model = new Files.ListModel ();
343341

344-
345342
/* Currently, "single-click rename" is disabled, matching existing UI
346343
* Currently, "right margin unselects all" is disabled, matching existing UI
347344
*/
@@ -1418,6 +1415,7 @@ namespace Files {
14181415
is_writable = false;
14191416
}
14201417

1418+
set_should_thumbnail ();
14211419
// Wait for view to draw so thumbnails and color tags displayed on first sight
14221420
Idle.add (() => {
14231421
empty_label.visible = slot.directory.is_empty ();

0 commit comments

Comments
 (0)