SubViewModel.Text Binding

This commit is contained in:
2026-05-26 14:04:31 +02:00
parent f38bec4cf5
commit b45b3c76fd
6 changed files with 62 additions and 37 deletions

View File

@@ -51,6 +51,11 @@ namespace BeWo.ViewModel.Controls.AI
};
UndoAiActionCommand= new DelegateCommand(UndoAiAction);
RedoAiActionCommand= new DelegateCommand(RedoAiAction);
Func<bool> canExecute = () => !string.IsNullOrEmpty(CurrentValue);
OpenAllPromptsPopupCommand = new DelegateCommand(OpenAllPromptsPopup, canExecute);
OpenConversationPopupCommand = new DelegateCommand(OpenConversationPopup, canExecute);
OpenFavoritePromptsPopupCommand = new DelegateCommand(OpenFavoritePromptsPopup, canExecute);
}
public void ClearHistory()