opts serialization is done by base class

This commit is contained in:
Kovid Goyal 2025-08-02 12:49:06 +05:30
parent bbbeeb8206
commit 6d2b17d877
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -708,7 +708,7 @@ def layout_action(self, action_name: str, args: Sequence[str], all_windows: Wind
return None
def layout_state(self) -> dict[str, Any]:
return {'pairs': self.pairs_root.serialize(), 'opts': self.layout_opts.serialized()}
return {'pairs': self.pairs_root.serialize()}
def set_layout_state(self, layout_state: dict[str, Any], map_window_id: WindowMapper) -> bool:
new_root = Pair()