DolphinQt/MenuBar: Hide assembler option if debug UI is disabled

Fixes a little visual inconsistency in the UI, where the assembler would
always be shown, but all other debug-related utilities would be hidden.
This commit is contained in:
Lioncash 2024-01-23 18:57:21 -05:00
parent f2292467ad
commit a65aaccd59
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ void MenuBar::OnDebugModeToggled(bool enabled)
m_show_memory->setVisible(enabled); m_show_memory->setVisible(enabled);
m_show_network->setVisible(enabled); m_show_network->setVisible(enabled);
m_show_jit->setVisible(enabled); m_show_jit->setVisible(enabled);
m_show_assembler->setVisible(enabled);
if (enabled) if (enabled)
{ {