all repos — mgba @ 05d4a6ca17c41f633dbafcecbb2d8e6239ed3294

mGBA Game Boy Advance Emulator

Memory Search: on return press in value field execute search (#1707)

* Memory Search on return execute search

* fix codestyle
Daniele Scasciafratte mte90net@gmail.com
Mon, 30 Mar 2020 00:52:24 +0200
commit

05d4a6ca17c41f633dbafcecbb2d8e6239ed3294

parent

fbdf749e418e59d018f3157802827d150337a38f

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

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

@@ -21,6 +21,7 @@ m_ui.setupUi(this);

mCoreMemorySearchResultsInit(&m_results, 0); connect(m_ui.search, &QPushButton::clicked, this, &MemorySearch::search); + connect(m_ui.value, &QLineEdit::returnPressed, this, &MemorySearch::search); connect(m_ui.searchWithin, &QPushButton::clicked, this, &MemorySearch::searchWithin); connect(m_ui.refresh, &QPushButton::clicked, this, &MemorySearch::refresh); connect(m_ui.numHex, &QPushButton::clicked, this, &MemorySearch::refresh);