This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-07-08 18:56:21 +03:00
parent 3c66237fc7
commit 9abb34e575
7 changed files with 137 additions and 161 deletions

View File

@ -536,6 +536,10 @@ func (m *Model) ChooseSendSource(id int) Action {
}
func (s ChooseSendSource) Do() {
defer (*Model)(s.Model).change("ChooseSendSource", NoChange, MinorChange)()
if s.Model.d.SendSource == s.ID {
s.Model.d.SendSource = 0 // unselect
return
}
s.Model.d.SendSource = s.ID
}