Commit b6506dca authored by Boudewijn Rempt's avatar Boudewijn Rempt

BUG:345150 Scroll to the active layer instead of the bottom on

parent 3f73db01
......@@ -367,9 +367,7 @@ void KisLayerBox::setCanvas(KoCanvasBase *canvas)
m_wdgLayerBox->listLayers->expandAll();
expandNodesRecursively(m_image->rootLayer(), m_nodeModel, m_wdgLayerBox->listLayers);
m_wdgLayerBox->listLayers->scrollToBottom();
m_wdgLayerBox->listLayers->scrollTo(m_wdgLayerBox->listLayers->currentIndex());
addActionToMenu(m_newLayerMenu, "add_new_paint_layer");
addActionToMenu(m_newLayerMenu, "add_new_group_layer");
......
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