From 605020e597d547b688b8ef48c29331dbf4746485 Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Tue, 10 Sep 2013 19:30:25 +0100 Subject: [PATCH] Fixed issue #51. --- src/gui/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 66106761..43e6cd09 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -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() && fs::exists(g_path_graphvis)) { + if (_settings["generate Graph Image"] && _settings["Generate Graph Image"].as() && 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);