onboarding: Fix keybindings showing up after a delay (#35342)
This fixes an issue where keybinds would only show up after a delay on the welcome page upon re-opening it. It also binds one of the buttons to the corresponding action. Release Notes: - N/A
This commit is contained in:
parent
45af1fcc2f
commit
f8d1062484
2 changed files with 10 additions and 9 deletions
|
@ -81,7 +81,7 @@ pub fn init(cx: &mut App) {
|
|||
if let Some(existing) = existing {
|
||||
workspace.activate_item(&existing, true, true, window, cx);
|
||||
} else {
|
||||
let settings_page = WelcomePage::new(cx);
|
||||
let settings_page = WelcomePage::new(window, cx);
|
||||
workspace.add_item_to_active_pane(
|
||||
Box::new(settings_page),
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue