From f65a307b84288eabf54a8a337bb249aed5eee0ba Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 13 May 2015 00:03:58 +0000 Subject: fix for a cursor that follows mouse git-svn-id: http://svn.miranda-ng.org/main/trunk@13565 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/genmenuopt.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules/clist/genmenuopt.cpp') diff --git a/src/modules/clist/genmenuopt.cpp b/src/modules/clist/genmenuopt.cpp index 60f8b6962f..c9b44e0022 100644 --- a/src/modules/clist/genmenuopt.cpp +++ b/src/modules/clist/genmenuopt.cpp @@ -311,6 +311,7 @@ public: //---- init dialog ------------------------------------------- virtual void OnInitDialog() { + m_bDragging = 0; iInitMenuValue = db_get_b(NULL, "CList", "MoveProtoMenus", TRUE); HIMAGELIST himlCheckBoxes = ImageList_Create(GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), ILC_COLOR32 | ILC_MASK, 2, 2); @@ -353,6 +354,8 @@ public: int iNewMenuValue = !m_radio1.GetState(); if (iNewMenuValue != iInitMenuValue) { + db_set_b(NULL, "CList", "MoveProtoMenus", iNewMenuValue); + RebuildProtoMenus(iNewMenuValue); iInitMenuValue = iNewMenuValue; } -- cgit v1.2.3