aboutsummaryrefslogtreecommitdiff
path: root/files.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-06-02 14:37:23 -0700
committer1029chris <1029chris@gmail.com>2016-06-02 14:37:23 -0700
commit100f994e953627f4c403c3318bdd29ef8d34e528 (patch)
tree73c9d7b979550e9e7d305c443c63774b66578ea1 /files.lua
parent8da3b8a350580315bd7c20b856e20ecf09cd24f5 (diff)
Image viewer can now look at image of a cat
Diffstat (limited to 'files.lua')
-rw-r--r--files.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/files.lua b/files.lua
index df37c2d..df4cb27 100644
--- a/files.lua
+++ b/files.lua
@@ -80,6 +80,10 @@ function updateFiles()
end
return
elseif files == f.pictures then
+ if i == 1 and picture.img ~= picture.cat then
+ picture.img = picture.cat
+ win[7].update = true
+ end
openFileWindow(7)
elseif files == f.videos then
openFileWindow(8)