Don't resize (external) editor windows when changing editor

Change-Id: I0b46e2403e67e29151c7b02e7371eaf4569f7168
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
Eike Ziller
2013-06-06 14:35:18 +02:00
parent e8c1b8b739
commit 7e5b462377

View File

@@ -510,6 +510,7 @@ void EditorView::goForwardInNavigationHistory()
SplitterOrView::SplitterOrView(Core::IEditor *editor)
{
m_layout = new QStackedLayout(this);
m_layout->setSizeConstraint(QLayout::SetNoConstraint);
m_view = new EditorView(this);
if (editor)
m_view->addEditor(editor);