Commit b0c512ff authored by Sven Langkamp's avatar Sven Langkamp
Browse files

scroll to first entry in the preset strip when switching paintop

BUG:327128
parent bddc2d4a
......@@ -50,6 +50,7 @@ KisPresetSelectorStrip::~KisPresetSelectorStrip()
void KisPresetSelectorStrip::setPresetFilter(const QString& paintOpId)
{
smallPresetChooser->setPresetFilter(paintOpId);
m_resourceItemView->scrollTo(m_resourceItemView->model()->index(0, 0));
}
void KisPresetSelectorStrip::on_leftScrollBtn_pressed()
......
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