Skip to content

Commit

Permalink
read metadata from existing map
Browse files Browse the repository at this point in the history
  • Loading branch information
KatKatKateryna committed Jun 24, 2024
1 parent 8fa3da6 commit 3d93bfa
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ ITopLevelExceptionHandler topLevelExceptionHandler
},
true
);

// in case plugin was loaded into already opened Map, read metadata from the current Map
if (IsDocumentInit == false)
{
IsDocumentInit = true;
ReadFromFile();
OnDocumentChanged();
}
}

private void OnProjectClosing()
Expand Down

0 comments on commit 3d93bfa

Please sign in to comment.