changeset 268:417a1a08aadf

* a bit more work on measurement tool mode * use arrow cursors on thumbwheels and panner in pane HUD
author Chris Cannam
date Thu, 14 Jun 2007 15:20:49 +0000
parents fa612dc181af
children 3043d388d127
files base/UnitDatabase.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/base/UnitDatabase.cpp	Thu Jun 14 13:49:30 2007 +0000
+++ b/base/UnitDatabase.cpp	Thu Jun 14 15:20:49 2007 +0000
@@ -44,8 +44,8 @@
 {
     if (m_units.find(unit) == m_units.end()) {
         m_units[unit] = m_nextId++;
+        emit unitDatabaseChanged();
     }
-    emit unitDatabaseChanged();
 }
 
 int