Add the module containing the define exceptions
[bertos.git] / wizard / BWizardPage.py
index b4fc6217025419c244c07c57af0743e68ca89319..dd1ccc95466b3fbf37f20c4c0b90e82ecd9bcdf0 100644 (file)
@@ -24,6 +24,9 @@ class BWizardPage(QWizardPage):
         layout.addWidget(self.pageContent)
         self.setLayout(layout)
     
+    def _exceptionOccurred(self, message):
+        QMessageBox.critical(self, self.tr("Error occurred"), message, QMessageBox.Ok, QMessageBox.NoButton)
+    
     def _settingsStore(self, key, value):
         QApplication.instance().settings.setValue(QString(key), value)
     
@@ -61,4 +64,7 @@ class BWizardPage(QWizardPage):
         self._settingsStore("toolchains", qvariant_converter.convertBoolDict(toolchains))
     
     def reloadData(self):
+        pass
+    
+    def saveData(self):
         pass
\ No newline at end of file