mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 23:12:08 +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:
parent
488d0722bd
commit
dfc33cd412
5 changed files with 28 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue