指定的元素已经是另一个元素的逻辑子元素。请先将其断开连接。

报错信息 1
InvalidOperationException: 指定的元素已经是另一个元素的逻辑子元素。请先将其断开连接。
StackTrace:
   在 System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent)
   在 System.Windows.FrameworkElement.AddLogicalChild(Object child)
   在 System.Windows.Controls.UIElementCollection.AddInternal(UIElement element)
   在 QuickerSuperPanelAction.<>c__DisplayClass91.<ShowFullActionEditorDialog>b__83()
   在 QuickerSuperPanelAction.ShowFullActionEditorDialog(String sceneName, Int32 slot, Int32 initialType, String defaultTitle, String defaultIcon, String defaultTarget, TileData& resultTile)
   在 QuickerSuperPanelAction.<>c__DisplayClass104.<BuildCustomSlotContextMenu>b__db(Object param0, RoutedEventArgs param1)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.45.5 2026-11-01 16:36 Microsoft Windows NT 10.0.26200.0