зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1055022 - unselect runtimeApps on disconnect. r=jryans
This commit is contained in:
Родитель
7abe500e25
Коммит
81d55839dd
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче