Explorar o código

Fix PAGE_UP scroll issue

isundil %!s(int64=9) %!d(string=hai) anos
pai
achega
ce145b8933
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/curseOutput.cpp

+ 4 - 0
src/curseOutput.cpp

@@ -341,7 +341,11 @@ bool CurseOutput::readInput()
                 {
                     const JSonElement *parent = selection->getParent();
                     if (parent && dynamic_cast<const JSonContainer*>(parent))
+                    {
                         selection = parent;
+                        if (selection->getParent() && dynamic_cast<const JSonObjectEntry*> (selection->getParent()))
+                            selection = selection->getParent();
+                    }
                     else
                         break;
                 }