include VM name in settings window title (#642)

This commit is contained in:
Marek Marczykowski 2012-07-22 01:47:36 +02:00
parent 1511dbca6d
commit 2a8afab83e

View File

@ -72,6 +72,7 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog):
self.source_vm = self.vm
self.setupUi(self)
self.setWindowTitle("Settings: %s" % self.vm.name)
if init_page in self.tabs_indices:
idx = self.tabs_indices[init_page]
assert (idx in range(self.tabWidget.count()))