debugger: Remove Start button from the attach modal (#34496)
Right now it doesn't work at all (the PID doesn't get set in the generated scenario), and it's sort of redundant with the picker functionality. Release Notes: - N/A
This commit is contained in:
@@ -766,14 +766,7 @@ impl Render for NewProcessModal {
|
|||||||
))
|
))
|
||||||
.child(
|
.child(
|
||||||
h_flex()
|
h_flex()
|
||||||
.child(div().child(self.adapter_drop_down_menu(window, cx)))
|
.child(div().child(self.adapter_drop_down_menu(window, cx))),
|
||||||
.child(
|
|
||||||
Button::new("debugger-spawn", "Start")
|
|
||||||
.on_click(cx.listener(|this, _, window, cx| {
|
|
||||||
this.start_new_session(window, cx)
|
|
||||||
}))
|
|
||||||
.disabled(disabled),
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
}),
|
}),
|
||||||
NewProcessMode::Debug => el,
|
NewProcessMode::Debug => el,
|
||||||
|
|||||||
Reference in New Issue
Block a user