Promptbausteine in DB einfügen (under construction)
This commit is contained in:
@@ -36,6 +36,7 @@ namespace BeWo.ViewModel.View.Administration
|
||||
PastePromptbausteinCommand = new DelegateCommand(PastePromptbaustein, canCopy);
|
||||
DeletePromptbausteinCommand = new DelegateCommand(DeletePromptbaustein, isObject);
|
||||
}
|
||||
|
||||
public AiPromptbausteinTreeViewModel(IWindowService windowService) : this()
|
||||
{
|
||||
WindowService = windowService;
|
||||
@@ -58,7 +59,9 @@ namespace BeWo.ViewModel.View.Administration
|
||||
public ICommand PastePromptbausteinCommand { get; set; }
|
||||
public ICommand DeletePromptbausteinCommand { get; set; }
|
||||
|
||||
public void UpdateVMList(AiPromptbausteinTreeListVM new_list)
|
||||
public bool IsDirty => ListVM.IsDirty;
|
||||
|
||||
public void UpdateVMList(AiPromptbausteinTreeListVM new_list)
|
||||
{
|
||||
ListVM = new_list;
|
||||
FirePropertyChanged(nameof(ListVM));
|
||||
|
||||
Reference in New Issue
Block a user