summaryrefslogtreecommitdiff
path: root/src/ui/uploadwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-19 13:28:58 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-19 13:28:58 +0300
commit81007a2debffebc97c230cd810fb1bf10760180f (patch)
tree80639ed9d2723b397710cafd3de1a479ef400d02 /src/ui/uploadwidget.c
parentb131ffbc42d66d7668844f12d7b24ddcf1a5c176 (diff)
Refactoring Window to split off MainWindow
MainWindow represents (one of) the main windows of the app, while the basic Window will be a used for popups. Only MainWindow supports split view modes.
Diffstat (limited to 'src/ui/uploadwidget.c')
-rw-r--r--src/ui/uploadwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/uploadwidget.c b/src/ui/uploadwidget.c
index 72608851..ba7545fd 100644
--- a/src/ui/uploadwidget.c
+++ b/src/ui/uploadwidget.c
@@ -97,7 +97,7 @@ static void updateInputMaxHeight_UploadWidget_(iUploadWidget *d) {
97 height_Widget(findChild_Widget(w, "dialogbuttons")) + 97 height_Widget(findChild_Widget(w, "dialogbuttons")) +
98 12 * gap_UI); 98 12 * gap_UI);
99 const int avail = bottom_Rect(safeRect_Root(w->root)) - footerHeight - 99 const int avail = bottom_Rect(safeRect_Root(w->root)) - footerHeight -
100 get_Window()->keyboardHeight; 100 get_MainWindow()->keyboardHeight;
101 setLineLimits_InputWidget(d->input, 101 setLineLimits_InputWidget(d->input,
102 minLines_InputWidget(d->input), 102 minLines_InputWidget(d->input),
103 iMaxi(minLines_InputWidget(d->input), 103 iMaxi(minLines_InputWidget(d->input),