changeset 263:16fffa24da02

...
author Chris Cannam
date Thu, 14 Jun 2007 20:57:01 +0000
parents dae479593572
children 7e9e533f1863
files view/Pane.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/view/Pane.cpp	Thu Jun 14 17:03:16 2007 +0000
+++ b/view/Pane.cpp	Thu Jun 14 20:57:01 2007 +0000
@@ -1956,7 +1956,7 @@
     ViewManager::ToolMode mode = m_manager->getToolMode();
 //    std::cerr << "Pane::toolModeChanged(" << mode << ")" << std::endl;
 
-    if (!m_measureCursorsCreated) {
+    if (mode == ViewManager::MeasureMode && !m_measureCursorsCreated) {
         m_measureCursor1 = QCursor(QBitmap(":/icons/measure1cursor.xbm"),
                                    QBitmap(":/icons/measure1mask.xbm"),
                                    15, 14);