Commit 9352f4b6 authored by hjk's avatar hjk
Browse files

cppeditor: show 40 items in dropdown, mimicing the file list size

parent ffe710e5
...@@ -479,7 +479,7 @@ void CPPEditorWidget::createToolBar(CPPEditor *editor) ...@@ -479,7 +479,7 @@ void CPPEditorWidget::createToolBar(CPPEditor *editor)
outlineView->header()->hide(); outlineView->header()->hide();
outlineView->setItemsExpandable(false); outlineView->setItemsExpandable(false);
m_outlineCombo->setView(outlineView); m_outlineCombo->setView(outlineView);
m_outlineCombo->setMaxVisibleItems(20); m_outlineCombo->setMaxVisibleItems(40);
m_outlineModel = new OverviewModel(this); m_outlineModel = new OverviewModel(this);
m_proxyModel = new OverviewProxyModel(m_outlineModel, this); m_proxyModel = new OverviewProxyModel(m_outlineModel, this);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment