aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_events.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_events.go')
-rw-r--r--src/i_events.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i_events.go b/src/i_events.go
index 4e3baae..427f9c1 100644
--- a/src/i_events.go
+++ b/src/i_events.go
@@ -168,7 +168,7 @@ func i_fold_dir(data *HardData, item *ItemsNode) {
func i_reload_data(data *HardData) {
data.data_dir = c_get_data_dir()
g_load_count = -1
- data.ldirs, data.litems = i_load_ui(data.data_dir, data.opts, &data.ui)
+ data.ldirs, data.litems, data.load_err = i_load_ui(data.data_dir, data.opts, &data.ui)
// FIX: must input to start reloading for some reason
data.folds = make(map[*DirsNode]*ItemsList)
}
@@ -344,6 +344,7 @@ func i_events(data *HardData) {
if event.Rune() == 'q' ||
event.Key() == tcell.KeyEnter {
ui.mode = NORMAL_MODE
+ data.load_err = nil
}
}
}