Add FIXME

This commit is contained in:
Florian Bruhin 2014-01-21 09:07:12 +01:00
parent 8da88f67d0
commit 690ff68a99

View File

@ -119,6 +119,8 @@ class StatusText(QLabel):
def set_perc(self, x, y): def set_perc(self, x, y):
"""Setter to be used as a Qt slot""" """Setter to be used as a Qt slot"""
if y == 0: if y == 0:
# FIXME we currently get the _top_ of the frame position, so this
# will never happen
self.scrollperc = '[top]' self.scrollperc = '[top]'
else: else:
self.scrollperc = '[{}%]'.format(y) self.scrollperc = '[{}%]'.format(y)