ProjectPyramid/MigrateSummaryDialog.py

branch
eric7
changeset 168
fee59283137b
parent 167
d0f4aa941afe
child 171
4a8bf0845603
equal deleted inserted replaced
167:d0f4aa941afe 168:fee59283137b
99 else: 99 else:
100 with EricOverridenCursor(): 100 with EricOverridenCursor():
101 EricMessageBox.critical( 101 EricMessageBox.critical(
102 None, 102 None,
103 self.tr("Migrations Summary"), 103 self.tr("Migrations Summary"),
104 self.tr( 104 self.tr("""The 'alembic' process could not be started."""),
105 """The 'alembic' process could not be""" """ started."""
106 ),
107 ) 105 )
108 for column in range(self.summaryWidget.columnCount()): 106 for column in range(self.summaryWidget.columnCount()):
109 self.summaryWidget.resizeColumnToContents(column) 107 self.summaryWidget.resizeColumnToContents(column)
110 108
111 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setEnabled(False) 109 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setEnabled(False)

eric ide

mercurial