]> Sergey Matveev's repositories - nnn.git/commitdiff
Disable du on detail mode switch
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 14 Sep 2019 23:26:54 +0000 (04:56 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 14 Sep 2019 23:26:54 +0000 (04:56 +0530)
src/nnn.c

index 5ae40d1847a667a663fb48a47045222a3863e22d..5c086e38e3589f7fd4a1db9609cb59c1d268843a 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3917,6 +3917,7 @@ nochange:
                        case SEL_DETAIL:
                                cfg.showdetail ^= 1;
                                cfg.showdetail ? (printptr = &printent_long) : (printptr = &printent);
+                               cfg.blkorder = 0;
                                continue;
                        case SEL_FSIZE:
                                cfg.sizeorder ^= 1;