mirror of
https://github.com/storytold/wordcraft.git
synced 2026-12-02 02:37:26 -06:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e2b519b3e |
@@ -274,7 +274,9 @@ impl WordForm for MergeRecordsForm {
|
||||
self.from = v;
|
||||
self.choice = 2;
|
||||
}
|
||||
if let Some(v) = NumberField::new(tl!("To:"), Bind::given(self.to)).show(ui).value().copied() {
|
||||
// The From: radio captions the first box; the second needs its own (#7976).
|
||||
let to = self.to;
|
||||
if let Some(v) = labelled(ui, tl!("To:"), |name, ui| NumberField::new(name, Bind::given(to)).show(ui).value().copied()).flatten() {
|
||||
self.to = v;
|
||||
self.choice = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user