summaryrefslogtreecommitdiff
path: root/src/modules/clist/genmenuopt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist/genmenuopt.cpp')
-rw-r--r--src/modules/clist/genmenuopt.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}