VirtualBox

Changeset 78244 in vbox for trunk


Ignore:
Timestamp:
Apr 22, 2019 11:10:20 AM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9434: Import Appliance wizard: Form Editor widget: Don't forget to notify listeners about cell changes (s.a. r130142).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIFormEditorWidget.cpp

    r78219 r78244  
    726726void UIFormEditorModel::updateGeneration()
    727727{
    728     foreach (UIFormEditorRow *pRow, m_dataList)
     728    for (int i = 0; i < m_dataList.size(); ++i)
     729    {
     730        UIFormEditorRow *pRow = m_dataList.at(i);
    729731        if (pRow->isGenerationChanged())
     732        {
    730733            pRow->updateValueCells();
     734            const QModelIndex changedIndex = index(i, 1);
     735            emit dataChanged(changedIndex, changedIndex);
     736        }
     737    }
    731738}
    732739
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette