all repos — mgba @ 3908b43d9327b2872be081b8ef67d70176d10d7d

mGBA Game Boy Advance Emulator

Qt: Refresh cheats after adding
Jeffrey Pfau jeffrey@endrift.com
Sat, 07 May 2016 23:35:41 -0700
commit

3908b43d9327b2872be081b8ef67d70176d10d7d

parent

44bbb9d1bba866b7428d78931c2bf66d042d5cfa

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/CheatsView.cppsrc/platform/qt/CheatsView.cpp

@@ -127,6 +127,7 @@ m_model.beginAppendRow(index);

mCheatAddLine(set, string.toUtf8().constData(), codeType); m_model.endAppendRow(); } + set->refresh(set, m_controller->cheatDevice()); m_controller->threadContinue(); m_ui.codeEntry->clear(); }