Skip to content

Commit

Permalink
DYN-7218 Revit Crash FileTrust Popup (DynamoDS#15405)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGlobant20 authored Jul 23, 2024
1 parent 82080da commit fdd424a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2787,6 +2787,8 @@ public void ShowSaveDialogAndSaveResult(object parameter)
if (_fileDialog.ShowDialog() == DialogResult.OK)
{
SaveAs(_fileDialog.FileName);
if(FileTrustViewModel != null)
FileTrustViewModel.DynFileDirectoryName = _fileDialog.FileName;
LastSavedLocation = Path.GetDirectoryName(_fileDialog.FileName);
//set the IsTemplate to false, after saving it as a file
vm.Model.CurrentWorkspace.IsTemplate = false;
Expand Down

0 comments on commit fdd424a

Please sign in to comment.