Merge pull request #327 from lidstrom83/InfLineLabel.setFormat_fix

Made InfLineLabel.setFormat actually set the format string.
This commit is contained in:
Eric Dill 2016-05-03 13:11:28 -04:00
commit 670d63cdf4

View File

@ -426,7 +426,7 @@ class InfLineLabel(TextItem):
May optionally contain "{value}" to include the lines current value
(the text will be reformatted whenever the line is moved).
"""
self.format = format
self.format = text
self.valueChanged()
def mouseDragEvent(self, ev):