Minor tweak to the OptionHandler.set to return objects instead of values for better integration with other systems.
This commit is contained in:
parent
a8cf8e166a
commit
aa57dd9b50
2 changed files with 5 additions and 4 deletions
|
|
@ -1056,4 +1056,4 @@ class CmdStyle(COMMAND_DEFAULT_CLASS):
|
|||
except ValueError as e:
|
||||
self.msg(str(e))
|
||||
return
|
||||
self.msg(f"Style {self.lhs} set to {result}")
|
||||
self.msg(f"Style {result.key} set to {result.display()}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue