Skip to content

Commit 0f58de0

Browse files
author
David Haeffner
committed
Fix for bug where re-opening a project file after making changes to it in the IDE would cause the changes to persist, and potentially show different versions between Test Suites and Tests. Fixes #451
1 parent 030f2bd commit 0f58de0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/selenium-ide/src/neo/IO/filesystem.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ export function loadJSProject(project, data) {
170170
PlaybackState.clearPlayingCache();
171171
UiState.clearViewCache();
172172
project.fromJS(data);
173+
UiState.projectChanged();
173174
Manager.emitMessage({
174175
action: "event",
175176
event: "projectLoaded",

packages/selenium-ide/src/neo/stores/view/UiState.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ class UiState {
7373

7474
@action.bound setProject(project) {
7575
this._project = project;
76-
observe(this._project, "id", this.projectChanged);
7776
}
7877

7978
@computed get filteredTests() {

0 commit comments

Comments
 (0)