Skip to content

Commit

Permalink
Update DynamoRevit.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
reddyashish committed Nov 8, 2024
1 parent c5fb72d commit 6af490c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DynamoRevit/DynamoRevit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,7 @@ private static void OnDynamoViewClosed(object sender, EventArgs e)
//the model is shutdown when DynamoView is closed
ModelState = RevitDynamoModelState.NotStarted;

// Once Dynamo is closed, we want to set the current UI culture back to the default thread culture.
System.Globalization.CultureInfo.CurrentUICulture = System.Globalization.CultureInfo.DefaultThreadCurrentCulture;
}

Expand Down

0 comments on commit 6af490c

Please sign in to comment.