From a0d3b953abe9afeaf7a05692b58f2f8a6a06b74a Mon Sep 17 00:00:00 2001 From: Ravbug Date: Fri, 10 Nov 2023 13:57:11 -0500 Subject: [PATCH] Fix misplaced brace --- source/interface_derived.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/interface_derived.cpp b/source/interface_derived.cpp index 1e2d7011..053545ef 100644 --- a/source/interface_derived.cpp +++ b/source/interface_derived.cpp @@ -400,7 +400,7 @@ void MainFrameDerived::OpenProject(const long& index){ } #if __APPLE__ for (const auto& path : installPaths) { - if (filesystem::exists(path / executable)) { + if (filesystem::exists(path / executable)) { // mac unlabeled version auto unlabeledPath = path / executable; char buffer[16]; @@ -412,8 +412,9 @@ void MainFrameDerived::OpenProject(const long& index){ return; } } -#endif } +#endif + // prompt the user to choose a new editor because we couldn't locate one wxCommandEvent evt;