summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-24 13:32:22 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-24 13:32:22 +0300
commitc96467dceeea7932190117e6a574e519420d3812 (patch)
tree10fd004dc3c086dca847e8ce3cdcf6385612d194 /src
parent53041a97c6039572a384d2843293ddc830586cb7 (diff)
fixes #4292 (При перемещении подменю все его элементы отключаются)
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/src/Windows/CCtrlTreeView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_core/src/Windows/CCtrlTreeView.cpp b/src/mir_core/src/Windows/CCtrlTreeView.cpp
index 0de75a9a5c..4b3a924d3e 100644
--- a/src/mir_core/src/Windows/CCtrlTreeView.cpp
+++ b/src/mir_core/src/Windows/CCtrlTreeView.cpp
@@ -120,6 +120,7 @@ HTREEITEM CCtrlTreeView::MoveItemAbove(HTREEITEM hItem, HTREEITEM hInsertAfter,
for (auto &it : arChildren) {
it->hParent = hNewItem;
it->hInsertAfter = hInsertAfter;
+ it->itemex.stateMask = it->itemex.state;
hInsertAfter = InsertItem(it);
mir_free(it->itemex.pszText);