summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-20 15:43:02 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-20 15:43:02 +0300
commite51039fa9d1626a504ee44d9c8b9c739d71fdeb7 (patch)
tree060b128e599e3e27feabe56fe8f1d285a3086b09 /src
parentc6a701bdc536a6ab0826462868dc8851ceb35323 (diff)
fixes #4217 (Options: the tree steals focus after switching from one tab to another)
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/options.cpp b/src/mir_app/src/options.cpp
index f0943b6c1e..4599eb44b3 100644
--- a/src/mir_app/src/options.cpp
+++ b/src/mir_app/src/options.cpp
@@ -1024,7 +1024,7 @@ public:
CreateOptionWindowEx(opd);
ShowWindow(opd->getHwnd(), SW_SHOW);
- SetFocus(m_pageTree.GetHwnd());
+ SetFocus(opd->getHwnd());
}
INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) override