If window size is 1, then show main window, if window
size >2, show last window, it's more reasonable.
Change-Id: Iac1b48b5cb144d420357d09c5dba820a89f967da
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
console.log('WebApplication : show');
if (!this.mainWindow.isVisible()) {
console.log(`show this.windowList.length : ${this.windowList.length}`);
- this.mainWindow.show();
if (this.windowList.length > 1) {
this.windowList[this.windowList.length - 1].moveTop();
+ } else {
+ this.mainWindow.show();
}
}
}