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;
|
bDisableGUIUpdate = false;
|
||||||
if(updateNow)
|
if(updateNow)
|
||||||
DbgCmdExecDirect("guiupdateenable");
|
GuiUpdateAllViews();
|
||||||
else
|
|
||||||
DbgCmdExecDirect("guiupdateenable 0");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BRIDGE_IMPEXP void GuiUpdateDisable()
|
BRIDGE_IMPEXP void GuiUpdateDisable()
|
||||||
{
|
{
|
||||||
bDisableGUIUpdate = true;
|
bDisableGUIUpdate = true;
|
||||||
DbgCmdExecDirect("guimsgdisable");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BRIDGE_IMPEXP bool GuiIsUpdateDisabled()
|
BRIDGE_IMPEXP bool GuiIsUpdateDisabled()
|
||||||
|
|
|
@ -137,11 +137,9 @@ bool cbInstrEnableGuiUpdate(int argc, char* argv[])
|
||||||
if(GuiIsUpdateDisabled())
|
if(GuiIsUpdateDisabled())
|
||||||
GuiUpdateEnable(false);
|
GuiUpdateEnable(false);
|
||||||
duint value;
|
duint value;
|
||||||
//default: update gui
|
//argv[1]=="1" = update GUI
|
||||||
if(argc > 1 && valfromstring(argv[1], &value) && value == 0)
|
if(argc > 1 && valfromstring(argv[1], &value) && value == 1)
|
||||||
return true;
|
GuiUpdateAllViews();
|
||||||
duint cip = GetContextDataEx(hActiveThread, UE_CIP);
|
|
||||||
DebugUpdateGuiAsync(cip, false);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue