Show error message when trying to save navigation state to an invalid file path (closes #2508)

This commit is contained in:
Alexander Bock
2023-03-07 00:05:31 +01:00
parent a711591c09
commit 1aef976911
2 changed files with 14 additions and 8 deletions

View File

@@ -140,7 +140,7 @@ public:
NavigationState navigationState() const;
NavigationState navigationState(const SceneGraphNode& referenceFrame) const;
void saveNavigationState(const std::string& filepath,
void saveNavigationState(const std::filesystem::path& filepath,
const std::string& referenceFrameIdentifier);
void loadNavigationState(const std::string& filepath);