mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-12-06 12:43:35 +01:00
Merge pull request #15087 from escape209/work
MemoryWidget: Ignore Hex checkbox if Float or Double selected
This commit is contained in:
1 file changed
+2
-1
@@ -666,7 +666,8 @@ void MemoryWidget::ValidateAndPreviewInputValue()
|
||||
if (input_text.startsWith(QStringLiteral("0x"), Qt::CaseInsensitive))
|
||||
input_text.remove(0, 2);
|
||||
}
|
||||
else if (m_base_check->isChecked())
|
||||
else if (m_base_check->isChecked() &&
|
||||
!(input_type == Type::Float32 || input_type == Type::Double))
|
||||
{
|
||||
// Add 0x to the front of the input (after the '-', if present), but only if the user didn't
|
||||
// already do so.
|
||||
|
||||
Reference in new issue
Block a user