627 EricMessageBox.critical( |
627 EricMessageBox.critical( |
628 self, |
628 self, |
629 self.tr("New Form"), |
629 self.tr("New Form"), |
630 self.tr( |
630 self.tr( |
631 "<p>The new form file <b>{0}</b> could not be created.<br>" |
631 "<p>The new form file <b>{0}</b> could not be created.<br>" |
632 "Problem: {1}</p>").format(str(fpath), str(err))) |
632 "Problem: {1}</p>").format(fpath, str(err))) |
633 return |
633 return |
634 |
634 |
635 self.project.appendFile(str(fpath)) |
635 self.project.appendFile(str(fpath)) |
636 self.designerFile.emit(str(fpath)) |
636 self.designerFile.emit(str(fpath)) |
637 |
637 |