Skip to content

Commit 31a046d

Browse files
committed
* Fixed an issue with window dragging in the settings window
1 parent 3243744 commit 31a046d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MemPlus/Views/Windows/SettingsWindow.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ private void LoadProperties()
9898
ChbNotifyIcon.IsChecked = Properties.Settings.Default.NotifyIcon;
9999
if (Properties.Settings.Default.WindowDragging)
100100
{
101+
// Remove previously added event handler if applicable
102+
MouseDown -= OnMouseDown;
101103
MouseDown += OnMouseDown;
102104
ChbWindowDraggable.IsChecked = true;
103105
}

0 commit comments

Comments
 (0)