fix some gtk errors w/ tree models

This commit is contained in:
ouwou
2021-04-12 03:30:55 -04:00
parent ceaf4649dc
commit b935398bea
3 changed files with 5 additions and 5 deletions

View File

@@ -114,7 +114,7 @@ void GuildSettingsEmojisPane::on_switched_to() {
void GuildSettingsEmojisPane::AddEmojiRow(const EmojiData &emoji) {
auto &img = Abaddon::Get().GetImageManager();
auto &row = *m_model->append();
auto row = *m_model->append();
row[m_columns.m_col_id] = emoji.ID;
row[m_columns.m_col_pixbuf] = img.GetPlaceholder(32);