Linux: Fixed tooltips not restoring focus to code window when closing
This commit is contained in:
parent
82512b3ca0
commit
f5d0b8b92b
1 changed files with 1 additions and 4 deletions
|
@ -46,10 +46,7 @@ namespace Mesen.GUI.Debugger
|
|||
Form parentForm = _owner.FindForm();
|
||||
|
||||
if(_hoverLastWord != word || _hoverLastLineAddress != lineAddress || _codeTooltip == null) {
|
||||
if(_codeTooltip != null) {
|
||||
_codeTooltip.Close();
|
||||
_codeTooltip = null;
|
||||
}
|
||||
this.Close();
|
||||
|
||||
if(ConfigManager.Config.DebugInfo.ShowOpCodeTooltips && frmOpCodeTooltip.IsOpCode(word)) {
|
||||
_codeTooltip = new frmOpCodeTooltip(parentForm, word, lineAddress);
|
||||
|
|
Loading…
Add table
Reference in a new issue