summaryrefslogtreecommitdiffstats
path: root/IncSet.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-01-02 23:49:04 +0100
committercgzones <cgzones@googlemail.com>2021-01-04 23:12:43 +0100
commitbadeaf9e8298b9b8bbb37252eacb0eb2fcf14b98 (patch)
tree8820408363e64ab51114a1ba8e8dad7969674517 /IncSet.c
parenta3cced9fb615a1cfe0b334fc41dc785f1fb9aef5 (diff)
IncSet: do not resize on our own and do not search on resize
The supervising ScreenManager will resize all Panels. Also do not start the search on resize.
Diffstat (limited to 'IncSet.c')
-rw-r--r--IncSet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/IncSet.c b/IncSet.c
index 043d6e6e..5b2fe728 100644
--- a/IncSet.c
+++ b/IncSet.c
@@ -174,7 +174,7 @@ bool IncSet_handleKey(IncSet* this, int ch, Panel* panel, IncMode_GetPanelValue
doSearch = false;
}
} else if (ch == KEY_RESIZE) {
- Panel_resize(panel, COLS, LINES - panel->y - 1);
+ doSearch = (mode->index > 0);
} else {
if (mode->isFilter) {
filterChanged = true;

© 2014-2024 Faster IT GmbH | imprint | privacy policy