Commit 49590223 authored by Boudewijn Rempt's avatar Boudewijn Rempt

add braces

parent fde05ea2
......@@ -77,8 +77,9 @@ KoResource * KisPatternChooser::currentResource()
void KisPatternChooser::setCurrentItem(int row, int column)
{
m_itemChooser->setCurrentItem(row, column);
if (currentResource())
if (currentResource()) {
update(currentResource());
}
}
void KisPatternChooser::setPreviewOrientation(Qt::Orientation orientation)
......
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