fix: svgify moderation button (#6398)
This commit is contained in:
@@ -18,6 +18,7 @@ SvgButton::SvgButton(Src source, BaseWidget *parent, QSize padding)
|
||||
|
||||
void SvgButton::setSource(Src source)
|
||||
{
|
||||
// TODO: compare sources before trying to load / invalidate?
|
||||
this->source_ = std::move(source);
|
||||
this->loadSource();
|
||||
this->invalidateContent();
|
||||
|
||||
Reference in New Issue
Block a user