mirror of https://github.com/ppy/osu
Temporarily fix crash on deleting control point groups
This commit is contained in:
parent
8788ef74aa
commit
546249b071
|
@ -85,12 +85,13 @@ private void load()
|
|||
{
|
||||
textBox.Text = string.Empty;
|
||||
|
||||
textBox.Current.Disabled = true;
|
||||
// cannot use textBox.Current.Disabled due to https://github.com/ppy/osu-framework/issues/3919
|
||||
textBox.ReadOnly = true;
|
||||
button.Enabled.Value = false;
|
||||
return;
|
||||
}
|
||||
|
||||
textBox.Current.Disabled = false;
|
||||
textBox.ReadOnly = false;
|
||||
button.Enabled.Value = true;
|
||||
|
||||
textBox.Text = $"{group.NewValue.Time:n0}";
|
||||
|
|
Loading…
Reference in New Issue