Răsfoiți Sursa

[quickfix] collapse should not select parent

isundil 9 ani în urmă
părinte
comite
3f39e5df6b
1 a modificat fișierele cu 0 adăugiri și 4 ștergeri
  1. 0 4
      src/curseOutput.cpp

+ 0 - 4
src/curseOutput.cpp

@@ -400,11 +400,7 @@ bool CurseOutput::readInput()
                         selection = selection->getParent();
                 }
                 else if (_selection)
-                {
                     collapsed.insert((const JSonContainer *)_selection);
-                    if (dynamic_cast<const JSonContainer*>(selection) && selection->getParent())
-                        selection = selection->getParent();
-                }
                 else
                     break;
                 return true;