projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ea9270
)
Fix moving master
author
Len Ovens
<len@ovenwerks.net>
Sun, 30 Oct 2016 13:48:05 +0000
(06:48 -0700)
committer
Len Ovens
<len@ovenwerks.net>
Sun, 30 Oct 2016 13:48:05 +0000
(06:48 -0700)
gtk2_ardour/ardour_ui.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/ardour_ui.cc
b/gtk2_ardour/ardour_ui.cc
index 8c2ec7605387bee27aef65cdcac10367b4176711..1b72edbebb5f2bc234149d52524e058ae32ba124 100644
(file)
--- a/
gtk2_ardour/ardour_ui.cc
+++ b/
gtk2_ardour/ardour_ui.cc
@@
-4053,7
+4053,8
@@
PresentationInfo::order_t
ARDOUR_UI::translate_order (RouteDialogs::InsertAt place)
{
if (editor->get_selection().tracks.empty()) {
- return PresentationInfo::max_order;
+ // tracks empty actually means we have master, add 1
+ return PresentationInfo::max_order + 1;
}
PresentationInfo::order_t order_hint = PresentationInfo::max_order;