mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Qt/RegisterColumn: Fix value columns not being editable
This commit is contained in:
parent
c81ac1a81d
commit
d0b64745d8
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user