@@ -596,6 +596,7 @@ def compose(self) -> ComposeResult:
596596 yield Label ("Destination" , classes = "tag-lbl" )
597597 yield Input (placeholder = "" , id = "target-dir-input" , compact = True )
598598 yield Button ("Browse…" , id = "btn-browse" , compact = True )
599+ yield Button ("Open" , id = "btn-target" , compact = True , disabled = True )
599600
600601 # Running phase: progress bars
601602 with Vertical (id = "progress-section" ):
@@ -673,7 +674,6 @@ def compose(self) -> ComposeResult:
673674 yield Button ("Extras" , id = "btn-extras" , disabled = True )
674675 with Horizontal (id = "action-right" ):
675676 yield Button ("Outputs" , id = "btn-outputs" )
676- yield Button ("Open Library" , id = "btn-target" , disabled = True )
677677 yield Button ("Eject CD" , id = "btn-eject" , disabled = True )
678678 yield Button ("Start" , id = "btn-start" , variant = "success" , disabled = True )
679679 yield Button ("Quit" , id = "btn-cancel" , variant = "error" )
@@ -1112,8 +1112,9 @@ def _refresh_target_button(self) -> None:
11121112 except Exception :
11131113 return
11141114
1115- path , label , _ = self ._target_button_destination ()
1116- btn .label = label
1115+ # The button now lives on the Destination row with the static label
1116+ # "Open"; only its enabled state needs refreshing.
1117+ path , _label , _ = self ._target_button_destination ()
11171118 btn .disabled = (
11181119 self .phase not in {"ready" , "done" , "error" }
11191120 or self ._operation_busy
0 commit comments