diff options
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r-- | src/ui/inputwidget.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index f4302887..27f0217c 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -123,7 +123,9 @@ static void updateMetrics_InputWidget_(iInputWidget *d) { | |||
123 | w->rect.size.y += 2 * gap_UI; | 123 | w->rect.size.y += 2 * gap_UI; |
124 | #endif | 124 | #endif |
125 | invalidateBuffered_InputWidget_(d); | 125 | invalidateBuffered_InputWidget_(d); |
126 | arrange_Widget(w); | 126 | if (parent_Widget(w)) { |
127 | arrange_Widget(w); | ||
128 | } | ||
127 | } | 129 | } |
128 | 130 | ||
129 | void init_InputWidget(iInputWidget *d, size_t maxLen) { | 131 | void init_InputWidget(iInputWidget *d, size_t maxLen) { |