mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-18 21:55:45 +00:00
HackStudio: Disable debug specific context entries
Context menu entries like evaluate expression and move execution to line action should only be enabled when a debug session is running. Otherwise they should be disabled.
This commit is contained in:
committed by
Gunnar Beutner
parent
488d0722bd
commit
dfc33cd412
@@ -137,4 +137,9 @@ void EditorWrapper::update_title()
|
||||
m_filename_label->set_text(title.to_string());
|
||||
}
|
||||
|
||||
void EditorWrapper::set_debug_mode(bool enabled)
|
||||
{
|
||||
m_editor->set_debug_mode(enabled);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user