Skip to content

Commit 49392eb

Browse files
committed
change workspace hidden eventing
1 parent 00cab14 commit 49392eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/DynamoCore/Models/DynamoModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,8 @@ public WorkspaceModel CurrentWorkspace
325325
set
326326
{
327327
if (Equals(value, currentWorkspace)) return;
328-
var old = currentWorkspace;
328+
OnWorkspaceHidden(currentWorkspace);
329329
currentWorkspace = value;
330-
OnWorkspaceHidden(old);
331330
OnPropertyChanged(nameof(CurrentWorkspace));
332331
}
333332
}

0 commit comments

Comments
 (0)