mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
error: Don't print 'None' in validation error dialog
This commit is contained in:
parent
1ff601138f
commit
10d2c245c3
@ -117,7 +117,9 @@ class vmmErrorDialog(vmmGObject):
|
||||
|
||||
dtype = gtk.MESSAGE_ERROR
|
||||
buttons = gtk.BUTTONS_OK
|
||||
self._simple_dialog(dtype, buttons, str(text1), str(text2),
|
||||
self._simple_dialog(dtype, buttons,
|
||||
str(text1),
|
||||
text2 and str(text2) or "",
|
||||
str(title), async)
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user