From d0b64745d8478bb41886da4ddef1842cfbf34011 Mon Sep 17 00:00:00 2001 From: spycrab Date: Sun, 28 Jan 2018 00:32:13 +0100 Subject: [PATCH] Qt/RegisterColumn: Fix value columns not being editable --- Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp b/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp index 3b8810dbbb..9f7af78ef5 100644 --- a/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp +++ b/Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp @@ -16,7 +16,8 @@ RegisterColumn::RegisterColumn(RegisterType type, std::function get, RefreshValue(); Update(); - setFlags(set == nullptr ? flags() ^ Qt::ItemIsEditable : flags()); + setFlags(m_set_register == nullptr ? flags() ^ Qt::ItemIsEditable : + Qt::ItemIsEditable | Qt::ItemIsEnabled); setData(DATA_TYPE, static_cast(type)); }