Tweak label formatter instantiation, per rattail changes.
This commit is contained in:
parent
f5b22b1256
commit
078e2c5471
|
@ -87,7 +87,7 @@ class ProfilesView(MasterView):
|
||||||
|
|
||||||
def after_edit(self, profile):
|
def after_edit(self, profile):
|
||||||
if not profile.format:
|
if not profile.format:
|
||||||
formatter = profile.get_formatter()
|
formatter = profile.get_formatter(self.rattail_config)
|
||||||
if formatter:
|
if formatter:
|
||||||
try:
|
try:
|
||||||
profile.format = formatter.default_format
|
profile.format = formatter.default_format
|
||||||
|
|
Loading…
Reference in a new issue