mirror of
https://github.com/sheumann/DiskBrowser.git
synced 2024-12-21 20:29:17 +00:00
Properly highlight the window when bringing it to the front.
This can happen if our extras menu item is selected when the window is already open but not at the front. Previously, it would come to the front but the highlighting would not update to make it look active.
This commit is contained in:
parent
d615b32431
commit
7779776e80
@ -62,7 +62,7 @@ static void DrawButtonOutlines(boolean justChanged);
|
||||
|
||||
void ShowBrowserWindow(void) {
|
||||
if (windowOpened) {
|
||||
BringToFront(window);
|
||||
SelectWindow(window);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user