trim() the contents of the contact chooser at the end

dbus-notify
Zlatin Balevsky 2022-06-09 07:59:39 +01:00
parent 11ce766af1
commit 8dd4880299
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class ContactChooser extends JComboBox{
def lastPOP = chooserEditor.getItem()
if (lastPOP == null)
return rv
lastPOP = chooserModel.findByName(lastPOP.toString())
lastPOP = chooserModel.findByName(lastPOP.toString().trim())
if (lastPOP != null)
rv << lastPOP
rv