Pass in labl fields as kwargs
parent
07aafac106
commit
d9d65bd71a
|
@ -274,7 +274,7 @@ class FormatLabel(QLabel):
|
||||||
|
|
||||||
def format(
|
def format(
|
||||||
self,
|
self,
|
||||||
fields: dict[str, Any],
|
**fields: dict[str, Any],
|
||||||
|
|
||||||
) -> str:
|
) -> str:
|
||||||
out = self.fmt_str.format(**fields)
|
out = self.fmt_str.format(**fields)
|
||||||
|
|
Loading…
Reference in New Issue