fix mod update remaining disabled on second open
fixes https://discord.com/channels/1031648380885147709/1450161125172707390/1453013386144124929 basically when opening the edit window a second time the model doesn't get any updates as the data is already loaded into the memory. Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@@ -113,6 +113,7 @@ ExternalResourcesPage::ExternalResourcesPage(BaseInstance* instance, std::shared
|
|||||||
m_model->loadColumns(ui->treeView);
|
m_model->loadColumns(ui->treeView);
|
||||||
connect(ui->treeView->header(), &QHeaderView::sectionResized, this, [this] { m_model->saveColumns(ui->treeView); });
|
connect(ui->treeView->header(), &QHeaderView::sectionResized, this, [this] { m_model->saveColumns(ui->treeView); });
|
||||||
connect(ui->filterEdit, &QLineEdit::textChanged, this, &ExternalResourcesPage::filterTextChanged);
|
connect(ui->filterEdit, &QLineEdit::textChanged, this, &ExternalResourcesPage::filterTextChanged);
|
||||||
|
updateActions();
|
||||||
}
|
}
|
||||||
|
|
||||||
ExternalResourcesPage::~ExternalResourcesPage()
|
ExternalResourcesPage::~ExternalResourcesPage()
|
||||||
|
|||||||
Reference in New Issue
Block a user