GeckoCodeWidget: Add a Sort button

This commit is contained in:
Justin Futrell
2018-05-20 11:04:30 +02:00
committed by Léo Lam
parent fc525bdf8f
commit c7f0c7484d
2 changed files with 11 additions and 0 deletions

View File

@ -46,6 +46,7 @@ private:
void RemoveCode();
void DownloadCodes();
void SaveCodes();
void SortCodesLexicographically();
const UICommon::GameFile& m_game;
std::string m_game_id;
@ -61,6 +62,7 @@ private:
QPushButton* m_edit_code;
QPushButton* m_remove_code;
QPushButton* m_download_codes;
QPushButton* m_sort_codes;
std::vector<Gecko::GeckoCode> m_gecko_codes;
bool m_restart_required;
};