MemoryScanner: Fix default operator value

pull/3319/head
Stenzek 2 years ago
parent c279376cff
commit 163cb2f653
No known key found for this signature in database

@ -80,7 +80,7 @@ private:
u32 m_value = 0;
MemoryAccessSize m_size = MemoryAccessSize::HalfWord;
Operator m_operator = Operator::Equal;
Operator m_operator = Operator::Any;
PhysicalMemoryAddress m_start_address = 0;
PhysicalMemoryAddress m_end_address = 0x200000;
ResultVector m_results;

@ -106,6 +106,8 @@ void MemoryScannerWindow::connectUi()
{
m_ui.scanStartAddress->setText(formatHexValue(m_scanner.GetStartAddress(), 8));
m_ui.scanEndAddress->setText(formatHexValue(m_scanner.GetEndAddress(), 8));
m_ui.scanOperator->setCurrentIndex(static_cast<int>(m_scanner.GetOperator()));
m_ui.scanSize->setCurrentIndex(static_cast<int>(m_scanner.GetSize()));
connect(m_ui.scanValue, &QLineEdit::textChanged, this, &MemoryScannerWindow::updateScanValue);
connect(m_ui.scanValueBase, QOverload<int>::of(&QComboBox::currentIndexChanged),

Loading…
Cancel
Save