From a6e331495d25c06f6ccd8c584267febb4d7cf5b3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 6 Feb 2024 19:54:42 +0300 Subject: CCtrlTreeOpts::OnFillOptions - a callback to untie options filling from the dialog creation --- src/mir_core/src/Windows/CCtrlTreeOpts.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/mir_core/src/Windows/CCtrlTreeOpts.cpp b/src/mir_core/src/Windows/CCtrlTreeOpts.cpp index 686a4a2734..cc37285077 100644 --- a/src/mir_core/src/Windows/CCtrlTreeOpts.cpp +++ b/src/mir_core/src/Windows/CCtrlTreeOpts.cpp @@ -96,6 +96,8 @@ void CCtrlTreeOpts::OnInit() { CSuper::OnInit(); + OnFillOptions(this); + SelectItem(nullptr); DeleteAllItems(); -- cgit v1.2.3