mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-09 22:18:58 +01:00
Fix code widget not becoming visible when selecting 'view code' or similar
This affected the memory and registers widgets (and possibly others). I'm pretty sure it regressed in 5f629abd8b89971872b0c2c2cdc8ea0035e8998d. The SetCodeVisible line is a new fix, but the equivalent already existed in the memory widget.
This commit is contained in:
parent
4f4bd57fe9
commit
0ccfa31ec8
@ -291,8 +291,10 @@ void CodeWidget::SetAddress(u32 address, CodeViewWidget::SetAddressUpdate update
|
||||
{
|
||||
m_code_view->SetAddress(address, update);
|
||||
|
||||
if (update == CodeViewWidget::SetAddressUpdate::WithUpdate)
|
||||
if (update == CodeViewWidget::SetAddressUpdate::WithUpdate ||
|
||||
update == CodeViewWidget::SetAddressUpdate::WithDetailedUpdate)
|
||||
{
|
||||
Settings::Instance().SetCodeVisible(true);
|
||||
raise();
|
||||
m_code_view->setFocus();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user