Kaynağa Gözat

[quickfix] collapse should not select parent

isundil 9 yıl önce
ebeveyn
işleme
3f39e5df6b
1 değiştirilmiş dosya ile 0 ekleme ve 4 silme
  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;