not show empty action dialogs

This commit is contained in:
Val Erastov 2016-10-22 22:13:57 -07:00
parent 41816bf5b6
commit 822a7de65b

View file

@ -87,8 +87,8 @@ InputManager.prototype.requestInfo = function(actionRequest) {
this.requestedActionInfo = null;
if (actionId != null ) {
const action = this.app.actionManager.actions[actionId];
if (action) {
const hotKey = this.keymap[actionId];
const hotKey = this.keymap[actionId];
if (action && (action.state.hint || action.info || hotKey)) {
Bind(this.actionInfoDom, {
hint: action.state.hint,
info: action.info,