BaseDataWindow: fix SeasonList Enabling/Disabling
This commit is contained in:
1 parent
7fe2ea76c3
commit
a1ae44e135
2 files changed
+2
-2
No files matched your search
@@ -19,7 +19,6 @@ namespace Elwig.Windows {
|
||||
private bool _attrUpdate = false;
|
||||
|
||||
private void WineAttributesInitEditing() {
|
||||
SeasonList.IsEnabled = false;
|
||||
_attrList = new(Context.WineAttributes.OrderBy(a => a.Name).ToList());
|
||||
_attrs = _attrList.ToDictionary(a => a.AttrId, a => (string?)a.AttrId);
|
||||
_attrIds = _attrList.ToDictionary(a => a, a => a.AttrId);
|
||||
@@ -36,7 +35,6 @@ namespace Elwig.Windows {
|
||||
|
||||
WineAttributeAddButton.IsEnabled = false;
|
||||
WineAttributeDeleteButton.IsEnabled = false;
|
||||
SeasonList.IsEnabled = true;
|
||||
}
|
||||
|
||||
private async Task WineAttributesSave() {
|
||||
|
||||
Reference in new issue
Block a user