mirror of
https://github.com/QuasarApp/installer-framework.git
synced 2025-05-10 03:59:32 +00:00
Fix initially deactivated buttons when selecting components to update
When entering component selection page for updates, force checking of component model state change so we can enable or disable relevant component selection buttons right when entering, not after first selection change. Task-number: QTIFW-1320 Change-Id: I86a94b70979f7064618186c539b0b7fc594d1481 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
This commit is contained in:
parent
4ada7607ae
commit
0bb2d25e87
@ -1911,6 +1911,11 @@ void ComponentSelectionPage::entering()
|
||||
setColoredSubTitle(tr(strings[index]));
|
||||
|
||||
d->updateTreeView();
|
||||
|
||||
// check component model state so we can enable needed component selection buttons
|
||||
if (core->isUpdater())
|
||||
d->onModelStateChanged(d->m_currentModel->checkedState());
|
||||
|
||||
setModified(isComplete());
|
||||
if (core->settings().repositoryCategories().count() > 0 && !core->isOfflineOnly()
|
||||
&& !core->isUpdater()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user