mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-07 03:01:32 +00:00
1 parent
6d83d13257
commit
0c4558cd08
1 file changed
+2
-1
@@ -167,7 +167,8 @@ pub fn body(app: &mut WordApp, ui: &mut Ui, f: &mut ControlForm) -> bool {
|
||||
if ui.button(tl!("Cancel")).clicked() || ui.input(|i| i.key_pressed(egui::Key::Escape)) {
|
||||
done = true;
|
||||
}
|
||||
if ui.button(egui::RichText::new(tl!("OK")).color(egui::Color32::WHITE)).clicked() {
|
||||
// #1906: no forced label color; the theme button text reads on the theme fill.
|
||||
if ui.button(tl!("OK")).clicked() {
|
||||
match app.run("developer.properties", f.params()) {
|
||||
Ok(_) => done = true,
|
||||
Err(e) => app.status(e),
|
||||
|
||||
Reference in new issue
Block a user