CheatSearchWidget: Don't recreate table when refreshing values

The table only needs to be recreated when the displayed addresses might
change. If we're just refreshing the current values then update those
table cells and leave the rest of the table alone.
This commit is contained in:
Dentomologist
2023-10-28 12:25:41 -07:00
parent fa7c969e15
commit 7dfb23d38c
2 changed files with 31 additions and 12 deletions

View File

@ -57,7 +57,9 @@ private:
void OnDisplayHexCheckboxStateChanged();
bool RefreshValues();
void UpdateGuiTable();
void RefreshCurrentValueTableItem(QTableWidgetItem* current_value_table_item);
void RefreshGUICurrentValues();
void RecreateGUITable();
void GenerateARCode();
std::unique_ptr<Cheats::CheatSearchSessionBase> m_session;