Skip to content

Commit

Permalink
canvas/toolgrid: Use correct division operator
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-erjavec committed Nov 11, 2016
1 parent 75df30a commit 9625543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/canvas/gui/toolgrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def __insertActionButton(self, index, action):
self.__shiftGrid(index, 1)
button = self.createButtonForAction(action)

row = index / self.__columns
row = index // self.__columns
column = index % self.__columns

self.layout().addWidget(
Expand Down

0 comments on commit 9625543

Please sign in to comment.