diff options
Diffstat (limited to '')
-rw-r--r-- | src/i_events.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i_events.go b/src/i_events.go index 11703da..e70b480 100644 --- a/src/i_events.go +++ b/src/i_events.go @@ -167,6 +167,9 @@ func i_fold_dir(data *HardData, item *ItemsNode) { func i_reload_data(data *HardData) { data.data_dir = c_get_data_dir(&data.ui) + if data.data_dir == "" { + return + } g_load_count = -1 data.ldirs, data.litems, data.load_err = i_load_ui(data.data_dir, data.opts, &data.ui) |