Patch from robsch to fix mantis 2766; apply button unclickable when modifying the...
authorCarl Hetherington <carl@carlh.net>
Sat, 22 Aug 2009 13:35:29 +0000 (13:35 +0000)
committerCarl Hetherington <carl@carlh.net>
Sat, 22 Aug 2009 13:35:29 +0000 (13:35 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5567 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/tempo_dialog.cc

index 7a59fe9ab0344b2b1efaf5cfa2267ffa54728f14..f74314d4bcead8dcc2ff5498f67c82e40879a8e5 100644 (file)
@@ -349,6 +349,8 @@ MeterDialog::init (const BBT_Time& when, double bpb, double note_type, bool mova
                when_frame.add (*when_hbox);
                
                get_vbox()->pack_end (when_frame, false, false);
+       } else {
+               when_bar_entry.set_text ("0");
        }
 
        get_vbox()->set_border_width (12);