parent
ed2b919db4
commit
39f5374b32
@ -465,6 +465,7 @@ class PlaylistTab(QTableWidget):
|
||||
|
||||
self.edit_cell_type = None
|
||||
self.musicmuster.enable_play_next_controls()
|
||||
self.musicmuster.actionSetNext.setEnabled(True)
|
||||
|
||||
super(PlaylistTab, self).closeEditor(editor, hint)
|
||||
|
||||
@ -507,6 +508,7 @@ class PlaylistTab(QTableWidget):
|
||||
# Disable play controls so that keyboard input doesn't
|
||||
# disturb playing
|
||||
self.musicmuster.disable_play_next_controls()
|
||||
self.musicmuster.actionSetNext.setEnabled(False)
|
||||
|
||||
# If this is a note cell, we need to remove any existing section
|
||||
# timing so user can't edit that. Keep it simple: refresh text
|
||||
@ -1191,11 +1193,6 @@ class PlaylistTab(QTableWidget):
|
||||
# Does it delimit a section?
|
||||
if section_start_plr is not None:
|
||||
if note_text.endswith("-"):
|
||||
log.debug(
|
||||
"line 1165: "
|
||||
f"self._update_note_text({section_start_plr=},"
|
||||
f"self._get_section_timing_string({section_time=})"
|
||||
)
|
||||
self._update_note_text(
|
||||
section_start_plr,
|
||||
self._get_section_timing_string(section_time)
|
||||
@ -1217,11 +1214,6 @@ class PlaylistTab(QTableWidget):
|
||||
|
||||
# Have we had a section start but not end?
|
||||
if section_start_plr is not None:
|
||||
log.debug(
|
||||
"line 1191: "
|
||||
f"self._update_note_text({section_start_plr=},"
|
||||
f"self._get_section_timing_string({section_time=})"
|
||||
)
|
||||
self._update_note_text(
|
||||
section_start_plr,
|
||||
self._get_section_timing_string(section_time, no_end=True)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user