fix(scenario): restore focus only to the current parent form
This commit is contained in:
@@ -306,8 +306,13 @@ fn chooser_rejects_old_results_after_context_recovery_reload_or_modal_and_keeps_
|
||||
)));
|
||||
}
|
||||
_ => {
|
||||
app.source_workspace
|
||||
.edit("unfinished source".into(), Default::default());
|
||||
app.source_workspace.edit(
|
||||
"unfinished source".into(),
|
||||
iced::widget::text_editor::Cursor {
|
||||
position: iced::widget::text_editor::Position { line: 0, column: 0 },
|
||||
selection: None,
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
let expected = raw(&app);
|
||||
|
||||
Reference in New Issue
Block a user