Register key press handler - oops!

This commit is contained in:
Bryan Ashby 2018-03-13 19:00:34 -06:00
parent 91bbc2e5fe
commit 534b51933a
1 changed files with 2 additions and 0 deletions

View File

@ -157,6 +157,8 @@ exports.getModule = class FileBaseListExport extends MenuModule {
// this may take quite a while; temp disable of idle monitor
self.client.stopIdleMonitor();
self.client.on('key press', keyPressHandler);
const filterCriteria = Object.assign({}, self.config.filterCriteria);
if(!filterCriteria.areaTag) {
filterCriteria.areaTag = FileArea.getAvailableFileAreaTags(self.client);