提交 52b79252 编写于 作者: J Joao Moreno

move restore sidebar to reload()

上级 1f123343
...@@ -433,7 +433,6 @@ export class ReloadWindowAction extends Action { ...@@ -433,7 +433,6 @@ export class ReloadWindowAction extends Action {
} }
public run(): TPromise<boolean> { public run(): TPromise<boolean> {
this.partService.setRestoreSidebar(); // we want the same sidebar after a reload restored
this.windowService.getWindow().reload(); this.windowService.getWindow().reload();
return TPromise.as(true); return TPromise.as(true);
......
...@@ -149,6 +149,7 @@ export class ElectronWindow { ...@@ -149,6 +149,7 @@ export class ElectronWindow {
} }
public reload(): void { public reload(): void {
this.partService.setRestoreSidebar(); // we want the same sidebar after a reload restored
ipc.send('vscode:reloadWindow', this.windowId); ipc.send('vscode:reloadWindow', this.windowId);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册