瀏覽代碼

[quickfix] collapse should not select parent

isundil 9 年之前
父節點
當前提交
3f39e5df6b
共有 1 個文件被更改,包括 0 次插入4 次删除
  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;