Merge pull request #327 from lidstrom83/InfLineLabel.setFormat_fix
Made InfLineLabel.setFormat actually set the format string.
This commit is contained in:
commit
670d63cdf4
@ -426,7 +426,7 @@ class InfLineLabel(TextItem):
|
|||||||
May optionally contain "{value}" to include the lines current value
|
May optionally contain "{value}" to include the lines current value
|
||||||
(the text will be reformatted whenever the line is moved).
|
(the text will be reformatted whenever the line is moved).
|
||||||
"""
|
"""
|
||||||
self.format = format
|
self.format = text
|
||||||
self.valueChanged()
|
self.valueChanged()
|
||||||
|
|
||||||
def mouseDragEvent(self, ev):
|
def mouseDragEvent(self, ev):
|
||||||
|
Loading…
Reference in New Issue
Block a user