Fixed issue #51.

This commit is contained in:
WrinklyNinja
2013-09-10 19:30:25 +01:00
parent 824084909b
commit 605020e597
+1 -1
View File
@@ -616,7 +616,7 @@ void Launcher::OnSortPlugins(wxCommandEvent& event) {
//First delete any existing graph file.
fs::remove(_game.GraphPath());
if (_settings["Generate Graph Image"].as<bool>() && fs::exists(g_path_graphvis)) {
if (_settings["generate Graph Image"] && _settings["Generate Graph Image"].as<bool>() && fs::exists(g_path_graphvis)) {
BOOST_LOG_TRIVIAL(trace) << "Outputting the graph.";
fs::path temp = fs::path(_game.GraphPath().string() + ".temp");
boss::SaveGraph(graph, temp);