Mercurial > hg > tony
comparison src/Analyser.cpp @ 70:5310637392f6
Revert to using three separate tool modes (more like SV). This is less like the proposed design for Tony but better than the previous situation with two incomprehensible toggle buttons.
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 16:59:31 +0000 |
parents | 3123e32ab5f1 |
children | fc3b62262443 |
comparison
equal
deleted
inserted
replaced
69:045360070b66 | 70:5310637392f6 |
---|---|
168 | 168 |
169 void | 169 void |
170 Analyser::setIntelligentActions(bool on) | 170 Analyser::setIntelligentActions(bool on) |
171 { | 171 { |
172 std::cerr << "toggle setIntelligentActions " << on << std::endl; | 172 std::cerr << "toggle setIntelligentActions " << on << std::endl; |
173 m_flexiNoteLayer->setIntelligentActions(on); | 173 if (m_flexiNoteLayer) { |
174 m_flexiNoteLayer->setIntelligentActions(on); | |
175 } | |
174 } | 176 } |