Skip to content

Commit

Permalink
Fix crash when showing the palette popup (fix #3189)
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Mar 14, 2022
1 parent 54c354f commit da49084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/ui/palettes_listbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class PalettesListItem : public ResourceListItem {
class CommentButton : public IconButton {
public:
CommentButton(const std::string& comment)
: IconButton(SkinTheme::get(this)->parts.iconUserData())
: IconButton(SkinTheme::instance()->parts.iconUserData())
, m_comment(comment) {
setFocusStop(false);
initTheme();
Expand Down

0 comments on commit da49084

Please sign in to comment.