From 58dccf3da59af75b350f27b80faff2c2910f2e2d Mon Sep 17 00:00:00 2001 From: Yichuan Shen Date: Mon, 16 Mar 2020 10:42:19 +0100 Subject: [PATCH] Label for unnamed engines in engines menu #647 --- src/modules/sabaki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sabaki.js b/src/modules/sabaki.js index f9c548c50..1f0dabd0d 100644 --- a/src/modules/sabaki.js +++ b/src/modules/sabaki.js @@ -2777,7 +2777,7 @@ class Sabaki extends EventEmitter { helper.popupMenu( [ ...engines.map(engine => ({ - label: engine.name, + label: engine.name || t('(Unnamed Engine)'), click: () => { this.attachEngines([engine]) }