about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 709e535..19901b4 100644
--- a/main.lua
+++ b/main.lua
@@ -124,6 +124,7 @@ function App.filedropped(file)
   file:open('r')
   Editor_state.lines = load_from_file(file)
   file:close()
+  Text.redraw_all(Editor_state)
   love.window.setTitle('text.love - '..Editor_state.filename)
 end