Skip to content

Commit

Permalink
Updates #268 and correctly keeps clock reset if the GRFX file says so
Browse files Browse the repository at this point in the history
  • Loading branch information
roman380 committed Jun 30, 2015
1 parent 4da5954 commit 453bfc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/display_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,9 @@ GRAPHSTUDIO_NAMESPACE_START // cf stdafx.h for explanation

const CString clock = gn->GetValue(_T("clock"));
uses_clock = clock != _T("none");
// NOTE: The clock needs to be reset right away because RefreshFilter/RefreshClock calls below would otherwise revert uses_clock
if(!uses_clock)
SetClock(false, nullptr);

// Filter list stored in the same order as stored in XML file for fixing up Filter index references
// Only store for the duration of loading
Expand Down

0 comments on commit 453bfc4

Please sign in to comment.