Verified Commit 7dbdc0c6 authored by Tobias WEBER's avatar Tobias WEBER
Browse files

added a check

parent c11f1417
......@@ -2261,7 +2261,8 @@ void PathsTool::TrackPath(std::size_t idx)
m_dlgConfigSpace->SetBlockCalc(true);
BOOST_SCOPE_EXIT(&m_dlgConfigSpace)
{
m_dlgConfigSpace->SetBlockCalc(false);
if(m_dlgConfigSpace)
m_dlgConfigSpace->SetBlockCalc(false);
} BOOST_SCOPE_EXIT_END
......
......@@ -261,7 +261,7 @@ constexpr std::array<SettingsVariable, 26> g_settingsvariables
.editor_config = "Shortest Path;;Avoid Walls",
},
{
.description = "Try direct path",
.description = "Try using direct path segments",
.key = "settings/try_direct_path",
.value = &g_try_direct_path,
.editor = SettingsVariableEditor::YESNO,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment