Update MainWindow.cpp

Automatically show decompilation widget if "Decompile" popup menu was used and widget wasn't shown.
This commit is contained in:
hfiref0x 2019-01-16 14:39:01 +07:00
parent 6f8e8f45fc
commit bcf852a2bf
1 changed files with 4 additions and 0 deletions

View File

@ -271,6 +271,10 @@ void MainWindow_C::SlotDecompileInterface(quint32 Pid, RPC_IF_ID* pIf)
if (pRpcInterfaceInfo == NULL) goto End;
InitDecompilerInfo(pRpcInterfaceInfo, &RpcDecompilerInfo);
__try{
if (!this->pDecompilationWidget->isVisible())
this->pDecompilationWidget->show();
RpcViewHelper_T LocalRpcViewHelper = {
this->pDecompilationWidget,
&RpcAlloc,