diff options
author | Ben Connors <benconnors@outlook.com> | 2019-12-03 10:24:42 -0500 |
---|---|---|
committer | Ben Connors <benconnors@outlook.com> | 2019-12-03 10:24:42 -0500 |
commit | 1ea9b37468b2cffc6c6c62dd767ab4d3956e54c7 (patch) | |
tree | 6d758d241de75229cbb1696ea1f38821fa856cef /interface/interface.py | |
parent | 7b8505af6c74abd98462662acda0b2dbb46c328d (diff) |
Interface fixes
- Don't use italics if unavailable
- Add more command-line options
- Fix channels indexing from 1 in interface (now 0)
Diffstat (limited to 'interface/interface.py')
-rw-r--r-- | interface/interface.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/interface/interface.py b/interface/interface.py index 832663e..6f68b2f 100644 --- a/interface/interface.py +++ b/interface/interface.py @@ -224,7 +224,7 @@ class Interface: else: continue - for n, c in enumerate(f.channels, 1): + for n, c in enumerate(f.channels): for s, e in cr[1]: if (s <= n <= e) or (e == -1 and n >= s): channels.append(c) @@ -725,7 +725,7 @@ class Interface: self.current_cv.chaser.advance_mode = mode self.current_cv.set_chaser(self.current_cv.chaser, self.current_cv.selected) - def base_copy(self, num, name=None): + def base_copy(self, name, num): with self.w_lock: ## TODO: Implement this in BLC if num not in self.w.functions: @@ -786,8 +786,7 @@ class Interface: ("list audio", lambda: self.list_functions(AUDIO)), ("list joins", lambda: self.list_functions(JOIN)), - ("copy $num", self.base_copy), - ("copy $num $quoted_string", self.base_copy), + ("new scene $quoted_string from $num", self.base_copy), ("currentstatus", self.current_status), |