Mercurial > hg > svgui
comparison view/Pane.cpp @ 731:f831ca41d4a5 tonioni
Add selectionChangedByUser for selection changes prompted by interactivity rather than by undo/redo
author | Chris Cannam |
---|---|
date | Wed, 05 Mar 2014 09:35:32 +0000 |
parents | 711ae36a53a2 |
children | b6dc57688c72 09e2677e34e7 |
comparison
equal
deleted
inserted
replaced
730:711ae36a53a2 | 731:f831ca41d4a5 |
---|---|
357 Pane::shouldIlluminateLocalSelection(QPoint &pos, | 357 Pane::shouldIlluminateLocalSelection(QPoint &pos, |
358 bool &closeToLeft, | 358 bool &closeToLeft, |
359 bool &closeToRight) const | 359 bool &closeToRight) const |
360 { | 360 { |
361 if (m_identifyFeatures && | 361 if (m_identifyFeatures && |
362 m_manager && | 362 m_manager && |
363 m_manager->getToolModeFor(this) == ViewManager::EditMode && | 363 m_manager->getToolModeFor(this) == ViewManager::EditMode && |
364 !m_manager->getSelections().empty() && | 364 !m_manager->getSelections().empty() && |
365 !selectionIsBeingEdited()) { | 365 !selectionIsBeingEdited()) { |
366 | 366 |
367 Selection s(getSelectionAt(m_identifyPoint.x(), | 367 Selection s(getSelectionAt(m_identifyPoint.x(), |
368 closeToLeft, closeToRight)); | 368 closeToLeft, closeToRight)); |
369 | 369 |
370 if (!s.isEmpty()) { | 370 if (!s.isEmpty()) { |