Skip to content

Commit df15a3e

Browse files
committed
Merge branch 'refactor-gui-tests'
2 parents 66b33e6 + 7e2fbd2 commit df15a3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ami/flowchart/library/CalculatorWidget.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ def __init__(self, terms, parent=None, operation=""):
119119
mainLayout.addWidget(self.EButton, 5, 4)
120120

121121
for i in range(1, CalculatorWidget.NumDigitButtons):
122-
row = ((9 - i) / 3) + 2
123-
column = ((i - 1) % 3) + 2
122+
row = int(((9 - i) / 3) + 2)
123+
column = int(((i - 1) % 3) + 2)
124124
mainLayout.addWidget(self.digitButtons[i], row, column)
125125

126126
mainLayout.addWidget(self.digitButtons[0], 5, 2)

0 commit comments

Comments
 (0)