summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-10-27 19:24:56 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-10-27 19:24:58 +0200
commitae12b95f92d15b9a9f13752ff9e110fc6c7212e9 (patch)
treeb307893920ff2754c46ce8f97f25cac933ac7e2c
parentcce1a4090a832a6fd2b7be4c610e469efb480b15 (diff)
downloadpoezio-ae12b95f92d15b9a9f13752ff9e110fc6c7212e9.tar.gz
poezio-ae12b95f92d15b9a9f13752ff9e110fc6c7212e9.tar.bz2
poezio-ae12b95f92d15b9a9f13752ff9e110fc6c7212e9.tar.xz
poezio-ae12b95f92d15b9a9f13752ff9e110fc6c7212e9.zip
Add missing height and width attributes to FormWin
Fixes a regression introduced in cce1a4090a832a6fd2b7be4c610e469efb480b15 when displaying data forms.
-rw-r--r--poezio/windows/data_forms.py2
1 files changed, 1 insertions, 1 deletions
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,