Fix VM clone name prompt dialog (#989)

Fixes qubesos/qubes-issues#989
This commit is contained in:
Marek Marczykowski-Górecki 2015-05-13 04:09:10 +02:00
parent c5cc11c04c
commit b82a88c4a8

View File

@ -1049,7 +1049,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
(clone_name, ok) = QInputDialog.getText(
self, 'Qubes clone VM',
'Enter name for VM <b>' + vm.name + '</b> clone:',
name_format % name_number)
text=(name_format % name_number))
if not ok or clone_name == "":
return