Skip to content

Commit

Permalink
Merge pull request #6337 from spycrab/qt_fix_debugger
Browse files Browse the repository at this point in the history
Qt/RegisterColumn: Fix value columns not being editable
  • Loading branch information
lioncash committed Jan 28, 2018
2 parents c81ac1a + d0b6474 commit f3826b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/DolphinQt2/Debugger/RegisterColumn.cpp
Expand Up @@ -16,7 +16,8 @@ RegisterColumn::RegisterColumn(RegisterType type, std::function<u64()> 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<quint32>(type));
}

Expand Down

0 comments on commit f3826b4

Please sign in to comment.