Qt: Don't refresh entire list on adding/editing cheat

This commit is contained in:
Connor McLaughlin
2020-10-21 21:08:34 +10:00
parent cb6ef03775
commit 133639122d
2 changed files with 83 additions and 28 deletions

View File

@@ -56,8 +56,10 @@ private:
void updateResultsValues();
void updateWatch();
void updateWatchValues();
void fillItemForCheatCode(QTreeWidgetItem* item, u32 index, const CheatCode& code);
QTreeWidgetItem* getItemForCheatIndex(u32 index) const;
QTreeWidgetItem* getItemForCheatGroup(const std::string& group) const;
int getSelectedCheatIndex() const;
int getSelectedResultIndex() const;
int getSelectedWatchIndex() const;