DBG+BRIDGE: resolved issue #1231 (gui not updated)
This commit is contained in:
parent
83631db154
commit
8ef2e4d990
|
@ -1026,15 +1026,12 @@ BRIDGE_IMPEXP void GuiUpdateEnable(bool updateNow)
|
|||
{
|
||||
bDisableGUIUpdate = false;
|
||||
if(updateNow)
|
||||
DbgCmdExecDirect("guiupdateenable");
|
||||
else
|
||||
DbgCmdExecDirect("guiupdateenable 0");
|
||||
GuiUpdateAllViews();
|
||||
}
|
||||
|
||||
BRIDGE_IMPEXP void GuiUpdateDisable()
|
||||
{
|
||||
bDisableGUIUpdate = true;
|
||||
DbgCmdExecDirect("guimsgdisable");
|
||||
}
|
||||
|
||||
BRIDGE_IMPEXP bool GuiIsUpdateDisabled()
|
||||
|
|
|
@ -137,11 +137,9 @@ bool cbInstrEnableGuiUpdate(int argc, char* argv[])
|
|||
if(GuiIsUpdateDisabled())
|
||||
GuiUpdateEnable(false);
|
||||
duint value;
|
||||
//default: update gui
|
||||
if(argc > 1 && valfromstring(argv[1], &value) && value == 0)
|
||||
return true;
|
||||
duint cip = GetContextDataEx(hActiveThread, UE_CIP);
|
||||
DebugUpdateGuiAsync(cip, false);
|
||||
//argv[1]=="1" = update GUI
|
||||
if(argc > 1 && valfromstring(argv[1], &value) && value == 1)
|
||||
GuiUpdateAllViews();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue