Finally fix the bug
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 17 Sep 2009 08:56:33 +0000 (08:56 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 17 Sep 2009 08:56:33 +0000 (08:56 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2957 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BEditingDialog.py

index 27eb4107710d3146b175f30ea9c4f55c5c9a4e14..b6a1d942e3f0d16ef657b21a6ded72073a57c34a 100644 (file)
@@ -120,7 +120,7 @@ class BEditingDialog(QDialog):
             version = qvariant_converter.getString(dialog.version_page.currentItem().data(Qt.UserRole))
             if version != current_version:
                 if QMessageBox.question(
-                    version_page,
+                    dialog.version_page,
                     self.tr("BeRTOS version update"),
                     self.tr("Changing the BeRTOS version will destroy all the modification done on the BeRTOS sources"),
                     QMessageBox.Ok | QMessageBox.Cancel