mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 17:40:01 +00:00
Fix crash when showing the palette popup (fix #3189)
This commit is contained in:
parent
54c354f5d2
commit
da4908474e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user