Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Office
Calligra
Commits
b0c512ff
Commit
b0c512ff
authored
Nov 04, 2013
by
Sven Langkamp
Browse files
scroll to first entry in the preset strip when switching paintop
BUG:327128
parent
bddc2d4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
krita/ui/widgets/kis_preset_selector_strip.cpp
View file @
b0c512ff
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment