提交 9a00e857 编写于 作者: I isidor

fixes #37491

上级 7bb32809
......@@ -146,7 +146,7 @@ export class ToggleMaximizedPanelAction extends Action {
public run(): TPromise<any> {
// Show panel
return this.partService.setPanelHidden(false)
return (!this.partService.isVisible(Parts.PANEL_PART) ? this.partService.setPanelHidden(false) : TPromise.as(null))
.then(() => this.partService.toggleMaximizedPanel());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册