Skip to content

Commit

Permalink
Hide audio bitrate when transcode audio is not enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbusillo committed Jun 30, 2024
1 parent d77e2a3 commit fc167f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bd_to_avp/gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def create_main_layout(self) -> None:
self.create_status_bar(main_layout)

self.toggle_transcode()
self.toggle_read_from_disc()
self.toggle_upscale()
self.toggle_read_from_disc()

@staticmethod
def create_group_box(title: str, box_contents: Callable[[QVBoxLayout], None]) -> QGroupBox:
Expand Down Expand Up @@ -540,4 +540,4 @@ def create_checkbox(
return check_box

def toggle_transcode(self) -> None:
self.audio_bitrate_spinbox.setEnabled(self.transcode_audio_checkbox.isChecked())
self.audio_bitrate_spinbox.setVisible(self.transcode_audio_checkbox.isChecked())

0 comments on commit fc167f9

Please sign in to comment.