Skip to content

Commit

Permalink
Reset internal subs if we click the clear button
Browse files Browse the repository at this point in the history
  • Loading branch information
alexballas committed Aug 25, 2024
1 parent 08736ca commit e9fac44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/gui/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,10 @@ func clearmediaAction(screen *NewScreen) {
screen.MediaText.Text = ""
screen.mediafile = ""
screen.MediaText.Refresh()
screen.SelectInternalSubs.Options = []string{}
screen.SelectInternalSubs.PlaceHolder = "No Embedded Subs"
screen.SelectInternalSubs.ClearSelected()
screen.SelectInternalSubs.Disable()
}

func clearsubsAction(screen *NewScreen) {
Expand Down

0 comments on commit e9fac44

Please sign in to comment.