mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-02-02 10:27:15 +01:00
Updates are disabled when loading AdBlock subscriptions dialog.
This commit is contained in:
parent
0969d6c693
commit
02668adac1
@ -181,9 +181,15 @@ void AdBlockDialog::learnAboutRules() {
|
||||
|
||||
void AdBlockDialog::loadSubscriptions() {
|
||||
setEnabled(false);
|
||||
|
||||
for (int i = 0; i < m_ui->m_tabs->count(); ++i) {
|
||||
qobject_cast<AdBlockTreeWidget*>(m_ui->m_tabs->widget(i))->refresh();
|
||||
AdBlockTreeWidget *tree = qobject_cast<AdBlockTreeWidget*>(m_ui->m_tabs->widget(i));
|
||||
|
||||
tree->setUpdatesEnabled(false);
|
||||
tree->refresh();
|
||||
tree->setUpdatesEnabled(true);
|
||||
}
|
||||
|
||||
setEnabled(true);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user