Skip to content

Commit

Permalink
reset selection after window type changes
Browse files Browse the repository at this point in the history
  • Loading branch information
CanglongCl committed Jan 16, 2024
1 parent 5cba85f commit df37873
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Easydict/NewApp/View/SettingView/Tabs/ServiceTab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ private class ServiceTabViewModel: ObservableObject {
didSet {
if oldValue != windowType {
updateServices()
selectedService = nil
}
}
}
Expand Down

0 comments on commit df37873

Please sign in to comment.