Set window focus when toggling with graph detached
This commit is contained in:
parent
210329b3e1
commit
6234abbed8
|
|
@ -169,6 +169,10 @@ void CPUWidget::setDisasmFocus()
|
|||
connect(mDisas, SIGNAL(selectionChanged(dsint)), mInfo, SLOT(disasmSelectionChanged(dsint)));
|
||||
disconnect(mGraph, SIGNAL(selectionChanged(dsint)), mInfo, SLOT(disasmSelectionChanged(dsint)));
|
||||
}
|
||||
else if(disasMode == 2)
|
||||
{
|
||||
activateWindow();
|
||||
}
|
||||
mDisas->setFocus();
|
||||
}
|
||||
|
||||
|
|
@ -183,6 +187,10 @@ void CPUWidget::setGraphFocus()
|
|||
disconnect(mDisas, SIGNAL(selectionChanged(dsint)), mInfo, SLOT(disasmSelectionChanged(dsint)));
|
||||
connect(mGraph, SIGNAL(selectionChanged(dsint)), mInfo, SLOT(disasmSelectionChanged(dsint)));
|
||||
}
|
||||
else if(disasMode == 2)
|
||||
{
|
||||
mGraph->activateWindow();
|
||||
}
|
||||
mGraph->setFocus();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue