From 473d1bec285cde33093dbfc9307c50a817bcb9cf Mon Sep 17 00:00:00 2001 From: aldelaro5 Date: Fri, 8 Sep 2017 23:13:56 -0400 Subject: [PATCH] Initializes the base and the sign property when adding an entry Again, do not ask me how I never noticed this until now because this essentially meant that a query of both property would bork everything. --- Source/GUI/MemWatcher/DlgAddWatchEntry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/GUI/MemWatcher/DlgAddWatchEntry.cpp b/Source/GUI/MemWatcher/DlgAddWatchEntry.cpp index a39770b3..169acf7e 100644 --- a/Source/GUI/MemWatcher/DlgAddWatchEntry.cpp +++ b/Source/GUI/MemWatcher/DlgAddWatchEntry.cpp @@ -251,7 +251,8 @@ void DlgAddWatchEntry::accept() m_entry->setLabel("No label"); else m_entry->setLabel(m_txbLabel->text().toStdString()); - + m_entry->setBase(Common::MemBase::base_decimal); + m_entry->setSignedUnsigned(false); setResult(QDialog::Accepted); hide(); }