From f97ccf249f93bfa3ba0a88a563cc589ea706bff5 Mon Sep 17 00:00:00 2001 From: Jake Norbut Date: Thu, 11 Oct 2018 09:33:46 -0500 Subject: [PATCH] GridSettingsVM is now ipmlements ITemplateSelectorKey so that we can actually see the settings --- .../spark/view/Controls/DIYGrid/Settings/GridSettingsVM.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/spark/view/Controls/DIYGrid/Settings/GridSettingsVM.cs b/src/client/spark/view/Controls/DIYGrid/Settings/GridSettingsVM.cs index 4e280d9e6..1666e0fc0 100644 --- a/src/client/spark/view/Controls/DIYGrid/Settings/GridSettingsVM.cs +++ b/src/client/spark/view/Controls/DIYGrid/Settings/GridSettingsVM.cs @@ -44,7 +44,7 @@ namespace mbts.spark { EqualityComparer.safe_aggregate_hash(predicate_animations_data)); } - partial class GridSettingsVM : DisposableViewModelBase, IRequestViewClose, IWindowSettingsVM + partial class GridSettingsVM : DisposableViewModelBase, IRequestViewClose, IWindowSettingsVM, ITemplateSelectorKey where TPredicateBuilder : IPredicateBuilder, new() where TSettingsData :class, IGridSettingsWithNotifications { // @@ -112,6 +112,8 @@ namespace mbts.spark { new DialogSkirtItem("Apply", new DelegateCommand(() => committed?.Invoke())) }; + public string key => ui.spark.GridOrLadderSettingsSelectorKeys.SimpleGrid; + public TSettingsData get_result() { var animation_map = predicate_animations .Select(p => p.create())