Skip to content

Commit

Permalink
Initializes the base and the sign property when adding an entry
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
aldelaro5 committed Sep 9, 2017
1 parent 4eecb27 commit 473d1be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/GUI/MemWatcher/DlgAddWatchEntry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 473d1be

Please sign in to comment.