diff --git a/lib/solaar/ui/__init__.py b/lib/solaar/ui/__init__.py index 7314dafe..fd1ad7c3 100644 --- a/lib/solaar/ui/__init__.py +++ b/lib/solaar/ui/__init__.py @@ -24,7 +24,7 @@ def _error_dialog(reason, object): 'and plugging it back in.' % object) elif reason == 'unpair': title = 'Unpairing failed' - text = ('Failed to unpair device\n%s .' % object) + text = ('Failed to unpair\n%s\nfrom %s.' % (object.name, object.receiver.name)) else: raise Exception("ui.error_dialog: don't know how to handle (%s, %s)", reason, object)