Skip to content

Commit

Permalink
TreeView: Type set on init / Window activation on result found
Browse files Browse the repository at this point in the history
  • Loading branch information
NovFR committed Apr 4, 2021
1 parent 31892c1 commit 73f99e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file modified Binaries/GlEd.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions Source/GlEd.depend
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@
"Texts.h"
"Utils.h"

1617502274 source:f:\programmation\sources\jeux\divinity original sin ii\sources\main\main_startup.c
1617563980 source:f:\programmation\sources\jeux\divinity original sin ii\sources\main\main_startup.c
"Application.h"
"Startup.h"
"Texts.h"
Expand Down Expand Up @@ -493,7 +493,7 @@
"XMLTree.h"
"Utils.h"

1617548110 source:f:\programmation\sources\jeux\divinity original sin ii\sources\tree\tree_search.c
1617563782 source:f:\programmation\sources\jeux\divinity original sin ii\sources\tree\tree_search.c
"Application.h"
"XMLTree.h"
"Dialogs.h"
Expand Down
2 changes: 2 additions & 0 deletions Source/Sources/Tree/Tree_Search.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ INT_PTR CALLBACK Tree_SearchDialogProc(HWND hDlg, UINT uMsgId, WPARAM wParam, LP
SetDlgItemText(hDlg,IDOK,Locale_GetText(TEXT_DIALOG_TV_SEARCH_NEXT));
SetDlgItemText(hDlg,IDCANCEL,Locale_GetText(TEXT_CLOSE));

Tree_SearchGetType(hDlg,TRUE);
Tree_SearchEnableOk(hDlg);
SetWindowText(hDlg,Locale_GetText(TEXT_DIALOG_TV_SEARCH_TITLE));
SetLayeredWindowAttributes(hDlg,0,255,LWA_ALPHA);
Expand Down Expand Up @@ -438,6 +439,7 @@ void Tree_Search(HWND hWnd)
if (bMatch)
{
Tree_SearchSelectItem(pNode);
SetActiveWindow(App.xmlTree.hWnd);
break;
}

Expand Down

0 comments on commit 73f99e4

Please sign in to comment.