mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1055022 - unselect runtimeApps on disconnect. r=jryans
This commit is contained in:
parent
c63d42e63c
commit
33557e57e4
@ -298,10 +298,9 @@ exports.AppManager = AppManager = {
|
||||
_selectedRuntime: null,
|
||||
set selectedRuntime(value) {
|
||||
this._selectedRuntime = value;
|
||||
if (!value &&
|
||||
this.selectedProject &&
|
||||
this.selectedProject.type == "mainProcess" &&
|
||||
this.selectedProject.type == "runtimeApp") {
|
||||
if (!value && this.selectedProject &&
|
||||
(this.selectedProject.type == "mainProcess" ||
|
||||
this.selectedProject.type == "runtimeApp")) {
|
||||
this.selectedProject = null;
|
||||
}
|
||||
this.update("runtime");
|
||||
|
Loading…
Reference in New Issue
Block a user