We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 611ea46 commit 0b06749Copy full SHA for 0b06749
Action.c
@@ -289,6 +289,9 @@ static Htop_Reaction actionInvertSortOrder(State* st) {
289
}
290
291
static Htop_Reaction actionExpandOrCollapse(State* st) {
292
+ if (!st->settings->ss->treeView)
293
+ return HTOP_OK;
294
+
295
bool changed = expandCollapse((Panel*)st->mainPanel);
296
return changed ? HTOP_RECALCULATE : HTOP_OK;
297
0 commit comments