Add main_area in debugger window to show only the buttons initially

This commit is contained in:
David Capello 2021-10-13 10:35:55 -03:00
parent 93cb0d3b51
commit 6dd128d637
2 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,7 @@
<item icon="debug_breakpoint" tooltip="@.toggle_breakpoint" tooltip_dir="bottom" />
</buttonset>
</hbox>
<splitter horizontal="true" noborders="true" childspacing="2" expansive="true">
<splitter id="main_area" horizontal="true" noborders="true" childspacing="2" expansive="true">
<view id="source_placeholder" />
<splitter vertical="true" noborders="true" childspacing="2" expansive="true">
<vbox id="stack_part">

View File

@ -402,6 +402,8 @@ public:
onEvalExpression(expr);
});
mainArea()->setVisible(false);
sourcePlaceholder()->attachToView(&m_sourceViewer);
sourcePlaceholder()->setVisible(false);
@ -618,6 +620,7 @@ public:
updateControls();
if (m_state == State::WaitingNextCommand) {
mainArea()->setVisible(true);
sourcePlaceholder()->setVisible(true);
stackPlaceholder()->setVisible(true);
layout();