bugfix: loading a file with text selected
This commit is contained in:
parent
0862dd2f72
commit
bb9b47fd1a
|
@ -1,5 +1,6 @@
|
|||
one_time_load = function()
|
||||
print('loading '..Current_pane.filename)
|
||||
edit.clear(Current_pane.editor_state)
|
||||
Current_pane.editor_state.filename = Directory..Current_pane.filename
|
||||
load_from_disk(Current_pane.editor_state)
|
||||
Text.redraw_all(Current_pane.editor_state)
|
||||
|
|
Loading…
Reference in New Issue