aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.DragAndDrop/DragAndDropService.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2021-04-07 10:56:23 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2021-04-07 10:56:23 +0300
commit02fe464c0fc173404771e0e61c5ac0db2a1813d3 (patch)
tree644a088e83e0c5ecad5278c755db89d1e65bede7 /Software/Visual_Studio/Tango.DragAndDrop/DragAndDropService.cs
parent302f706666622cade696eeb024763821536660c4 (diff)
downloadTango-02fe464c0fc173404771e0e61c5ac0db2a1813d3.tar.gz
Tango-02fe464c0fc173404771e0e61c5ac0db2a1813d3.zip
Several bug fixes.
Diffstat (limited to 'Software/Visual_Studio/Tango.DragAndDrop/DragAndDropService.cs')
-rw-r--r--Software/Visual_Studio/Tango.DragAndDrop/DragAndDropService.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.DragAndDrop/DragAndDropService.cs b/Software/Visual_Studio/Tango.DragAndDrop/DragAndDropService.cs
index 320891c61..6f9f8a354 100644
--- a/Software/Visual_Studio/Tango.DragAndDrop/DragAndDropService.cs
+++ b/Software/Visual_Studio/Tango.DragAndDrop/DragAndDropService.cs
@@ -13,7 +13,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Threading;
using Tango.Core;
using Tango.Core.EventArguments;
-
+using Tango.Logging;
namespace Tango.DragAndDrop
{
@@ -554,7 +554,14 @@ namespace Tango.DragAndDrop
else
{
DragEnded?.Invoke(_currentDragedElement, _currentDragedElement);
- DropDraggable();
+ try
+ {
+ DropDraggable();
+ }
+ catch (Exception ex)
+ {
+ LogManager.Default.Log(ex, "Error on drop draggable.");
+ }
}
}