Dispose shortcut set on closing window

This commit is contained in:
Alexander Zolotov
2015-08-20 18:27:16 +03:00
parent 5cb76f3347
commit 72d7dbd712
@@ -73,7 +73,7 @@ public abstract class DiffWindowBase {
public void actionPerformed(final AnActionEvent e) {
myWrapper.close();
}
}.registerCustomShortcutSet(CommonShortcuts.getCloseActiveWindow(), myProcessor.getComponent());
}.registerCustomShortcutSet(CommonShortcuts.getCloseActiveWindow(), myProcessor.getComponent(), myWrapper);
}
public void show() {