Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Open Template hotkey label #15053

Merged
merged 3 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2538,6 +2538,7 @@ private bool CanShowNewFunctionDialogCommand(object parameter)
/// Present the new preset dialogue and add a new presetModel
/// to the preset set on this graph
/// </summary>
[Obsolete("The preset functionality is deprecated, DO NOT USE, will be removed in future version.")]
private void ShowNewPresetStateDialogAndMakePreset(object parameter)
{
var selectedNodes = GetInputNodesFromSelectionForPresets().ToList();
Expand Down
7 changes: 2 additions & 5 deletions src/DynamoCoreWpf/Views/Core/DynamoView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
<KeyBinding Key="O"
Modifiers="Control"
Command="{Binding Path=DataContext.ShowOpenDialogAndOpenResultCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type controls:DynamoView}}}" />
<KeyBinding Key="O"
Modifiers="Control+Shift"
<KeyBinding Key="T"
Modifiers="Control"
Command="{Binding Path=DataContext.ShowOpenTemplateDialogCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type controls:DynamoView}}}"
CommandParameter="Template"/>
<KeyBinding Key="I"
Expand Down Expand Up @@ -182,9 +182,6 @@
<MouseBinding Gesture="Shift+LeftDoubleClick"
Command="{Binding Path=DataContext.HomeSpaceViewModel.ShowInCanvasSearchCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type controls:DynamoView}}}"
CommandParameter="{x:Static viewModels:ShowHideFlags.Show}"/>
<KeyBinding Key="T"
Modifiers="Control"
Command="{Binding Path=DataContext.ShowNewPresetsDialogCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type controls:DynamoView}}}" />
<KeyBinding Key="F1"
Command="{Binding Path=DataContext.ShowNodeDocumentationCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type controls:DynamoView}}}" />
</Window.InputBindings>
Expand Down
Loading