Use BridgeSettingGetUint settingboolget

This commit is contained in:
Duncan Ogilvie 2021-03-11 00:38:20 +01:00
parent 800c8bf106
commit 33ad3fb0ed

View File

@ -101,7 +101,9 @@ void CPUDisassembly::mouseDoubleClickEvent(QMouseEvent* event)
// (Disassembly) Assemble dialog
case 2:
{
if(settingboolget("Disassembler", "AssembleOnDoubleClick"))
duint assembleOnDoubleClick = 0;
BridgeSettingGetUint("Disassembler", "AssembleOnDoubleClick", &assembleOnDoubleClick);
if(assembleOnDoubleClick)
{
assembleSlot();
}