Skip to content

Commit

Permalink
Removed context menu in non release
Browse files Browse the repository at this point in the history
  • Loading branch information
smasherprog committed Nov 12, 2024
1 parent 67a8ff8 commit 8647281
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EQTool/UI/SettingManagement.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ private void OnPreviewMouseRightButtonDown(object sender, MouseButtonEventArgs e

_ = item.Focus();
e.Handled = true;

#if !RELEASE
(sender as TreeViewItem).ContextMenu = settingsManagementViewModel.GetContextMenu(p);
#endif
}

private static DependencyObject GetDependencyObjectFromVisualTree(DependencyObject startObject, Type type)
Expand Down

0 comments on commit 8647281

Please sign in to comment.