Skip to content

Commit

Permalink
Set the UI culture back to default after dynamo is closed.
Browse files Browse the repository at this point in the history
  • Loading branch information
reddyashish committed Nov 8, 2024
1 parent 55fcfe5 commit c5fb72d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DynamoRevit/DynamoRevit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,8 @@ private static void OnDynamoViewClosed(object sender, EventArgs e)

//the model is shutdown when DynamoView is closed
ModelState = RevitDynamoModelState.NotStarted;

System.Globalization.CultureInfo.CurrentUICulture = System.Globalization.CultureInfo.DefaultThreadCurrentCulture;
}

/// <summary>
Expand Down

0 comments on commit c5fb72d

Please sign in to comment.