Re: """апгрейд""" QuickDialogSystem (#133)

This commit is contained in:
RedFoxIV
2024-02-27 15:07:36 +03:00
parent 3dfd5150df
commit 7d6918646d

View File

@@ -182,7 +182,6 @@ public sealed partial class DialogWindow : FancyWindow
{
var (control, returner) = SetupLineEdit(valid, name, entry, last);
var le = (LineEdit) control;
le.Text = "0";
return (control, ()=> le.Text.Length > 0 ? le.Text : "0"); // Otherwise you'll get kicked for malformed data
}
private (Control, Func<string>) SetupLineEditHex(Func<string, bool> valid, string name, QuickDialogEntry entry, bool last)