From ae12b95f92d15b9a9f13752ff9e110fc6c7212e9 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 27 Oct 2018 19:24:56 +0200 Subject: [PATCH] Add missing height and width attributes to FormWin Fixes a regression introduced in cce1a4090a832a6fd2b7be4c610e469efb480b15 when displaying data forms. --- poezio/windows/data_forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poezio/windows/data_forms.py b/poezio/windows/data_forms.py index 70d396dc..b8dd8531 100644 --- a/poezio/windows/data_forms.py +++ b/poezio/windows/data_forms.py @@ -373,7 +373,7 @@ class FormWin: On resize, move and resize all the subwin and define how the text will be written On refresh, write all the text, and refresh all the subwins """ - __slots__ = ('_form', '_win', 'scroll_pos', 'current_input', 'inputs') + __slots__ = ('_win', 'height', 'width', '_form', 'scroll_pos', 'current_input', 'inputs') input_classes = { 'boolean': BooleanWin,