Find/Change: the Search label's name apart from the branch's scope_name closure

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
moppeeerandClaude Opus 5.5 committed 2026-10-30 14:46:10 +01:00
1 parent 9f591ab6fa
commit 620f83d44a
1 file changed
+2 -2
+2 -2
View File
@@ -2491,7 +2491,7 @@ pub fn show(app: &mut DesignApp, ctx: &egui::Context) {
});
text_field_named(ui, &mut d, "change", 260.0, crate::i18n::tr(&app.ui.language, "Change to:"));
ui.end_row();
let scope_name = crate::rtl::label(ui, crate::i18n::tr(&app.ui.language, "Search:"));
let search_label = crate::rtl::label(ui, crate::i18n::tr(&app.ui.language, "Search:"));
let cur = d.s("scope");
// InDesign's names for the scopes.
let scope_name = |v: &str| match v {
@@ -2513,7 +2513,7 @@ pub fn show(app: &mut DesignApp, ctx: &egui::Context) {
}
})
.response
.labelled_by(scope_name.id);
.labelled_by(search_label.id);
ui.end_row();
});
ui.horizontal(|ui| {