diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2008-02-05 15:58:10 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2008-02-05 15:58:10 +0000 |
commit | 8cddcec46f5d1398b7f8d1ecd71968d9d72a929b (patch) | |
tree | 18a90195d017e77606543b3f7250db8e1e806fcf /gtk2_ardour/editor_ops.cc | |
parent | 4a0f94395d130a55107249a74f1adf4b758afd76 (diff) |
show loop and punch locations properly in location ui, reorder some dialog buttons.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3011 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index df36c4032f..74611e0346 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -5019,18 +5019,20 @@ Editor::define_one_bar (nframes64_t start, nframes64_t end) */ vector<string> options; - options.push_back (_("Set global tempo")); - options.push_back (_("Add new marker")); options.push_back (_("Cancel")); + options.push_back (_("Add new marker")); + options.push_back (_("Set global tempo")); Choice c (_("Do you want to set the global tempo or add new tempo marker?"), options); + c.set_default_response (2); switch (c.run()) { case 0: + return; + + case 2: do_global = true; break; - case 2: - return; default: do_global = false; |