Fix #2922.
authorCarl Hetherington <carl@carlh.net>
Wed, 25 Nov 2009 00:13:58 +0000 (00:13 +0000)
committerCarl Hetherington <carl@carlh.net>
Wed, 25 Nov 2009 00:13:58 +0000 (00:13 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6167 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/time_axis_view.cc

index 98f801ae720dde68c88cab2f867afdb51ddbe942..31bea78acacbb8a8228b8f438042829f2a5eab55 100644 (file)
@@ -460,7 +460,7 @@ TimeAxisView::name_entry_key_release (GdkEventKey* ev)
 
                        /* resize to show editable name display */
 
-                       if ((*i)->current_height() >= hSmall && (*i)->current_height() < hNormal) {
+                       if ((*i)->current_height() <= hSmaller) {
                                (*i)->set_height (hSmaller);
                        }