Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Dec 6, 2019
1 parent 028d0a9 commit 211c665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/location_wizard/dialogs.py
Expand Up @@ -567,7 +567,7 @@ def OnDrawItem(self, dc, rect, n):
def OnMeasureItem(self, n):
height = 0
if self._getItemText(n) is None:
return
return height
for line in self._getItemText(n).splitlines():
w, h = self.GetTextExtent(line)
height += h
Expand Down

0 comments on commit 211c665

Please sign in to comment.