Skip to content
Permalink
Browse files
Merge pull request #10801 from iwubcode/graphics_mod_fixes_part2
More Graphics Mods Fixes
  • Loading branch information
JMC47 committed Jul 2, 2022
2 parents 469aac5 + 66f5085 commit edd89e3
Showing 1 changed file with 6 additions and 0 deletions.
@@ -107,6 +107,11 @@ void GraphicsModListWidget::ConnectWidgets()

void GraphicsModListWidget::RefreshModList()
{
if (m_needs_save)
{
SaveToDisk();
}

m_mod_list->setCurrentItem(nullptr);
m_mod_list->clear();

@@ -214,6 +219,7 @@ void GraphicsModListWidget::OnModChanged(std::optional<std::string> absolute_pat
{
auto* description_label =
new QLabel(tr("Description: ") + QString::fromStdString(mod->m_description));
description_label->setWordWrap(true);
m_mod_meta_layout->addWidget(description_label);
}
}

0 comments on commit edd89e3

Please sign in to comment.