Skip to content

Commit

Permalink
Track bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mikacousin committed Dec 19, 2023
1 parent 89ee866 commit 2360ee4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/track_channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,15 +223,15 @@ def _keypress_Up(self): # pylint: disable=C0103
index = child.get_index()
self.last_step_selected = str(index)

def _keypress_m(self):
def _keypress_equal(self):
"""Modify Level"""

# Find selected Channel
sel = self.flowbox.get_selected_children()
for flowboxchild in sel:
widget = flowboxchild.get_child()
step = widget.step
channel = self.channels[self.channel_selected]
channel = self.channels[self.channel_selected] + 1
level = int(App().window.commandline.get_string())

if App().settings.get_boolean("percent"):
Expand All @@ -240,6 +240,9 @@ def _keypress_m(self):
App().sequence.steps[step].cue.channels[channel] = level
widget.levels[self.channel_selected] = level
widget.queue_draw()
App().tabs.refresh_all()
App().window.live_view.channels_view.update()
App().ascii.set_modified()

App().window.commandline.set_string("")

Expand Down

0 comments on commit 2360ee4

Please sign in to comment.