Commit a7e5b1c6 authored by Halla Rempt's avatar Halla Rempt
Browse files

Fix layout of overviewdocker

parent 3c08b8ca
......@@ -83,6 +83,11 @@ void OverviewDockerDock::setCanvas(KoCanvasBase * canvas)
m_mirrorCanvas = nullptr;
}
// Delete the stretch
if (m_horizontalLayout->count() && m_horizontalLayout->itemAt(0)->spacerItem()) {
delete m_horizontalLayout->takeAt(0);
}
m_bottomLayout->removeItem(m_horizontalLayout);
m_canvas = dynamic_cast<KisCanvas2*>(canvas);
......
Markdown is supported
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