Auto check for updates when opening updates page
If page is empty
This commit is contained in:
parent
413cae80c4
commit
3f2dcbbeb0
@ -287,6 +287,11 @@ void SettingsEditor::setSettings(const Settings &settings)
|
||||
void SettingsEditor::updateCurrentPage()
|
||||
{
|
||||
ui->pagesView->setCurrentIndex(ui->pagesList->currentIndex().row());
|
||||
|
||||
if (ui->pagesView->currentWidget() != ui->pageUpdate)
|
||||
return;
|
||||
if (ui->updatesView->model()->rowCount() == 0)
|
||||
updater_.checkForUpdates();
|
||||
}
|
||||
|
||||
void SettingsEditor::updateTranslators()
|
||||
|
Loading…
Reference in New Issue
Block a user