Selaa lähdekoodia

[quickfix] collapse should not select parent

isundil 9 vuotta sitten
vanhempi
commit
3f39e5df6b
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      src/curseOutput.cpp

+ 0 - 4
src/curseOutput.cpp

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