Skip to content

Commit

Permalink
Fix we never created the first pane OOPS
Browse files Browse the repository at this point in the history
Co-Authored-By: Anthony Eid <[email protected]>
  • Loading branch information
RemcoSmitsDev and Anthony-Eid committed Jul 12, 2024
1 parent 4a6f615 commit 68dd3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/debugger_ui/src/debugger_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ impl DebugPanel {
item.client().id() == client_id && item.thread_id() == thread_id
});

if existing_item {
if !existing_item {
let debug_panel = cx.view().clone();
this.pane.update(cx, |this, cx| {
let tab = cx.new_view(|cx| {
Expand Down

0 comments on commit 68dd3c9

Please sign in to comment.