Skip to content

Commit

Permalink
Fixed non bringing a dialog windows on top when it had been already o…
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg68 authored Oct 14, 2024
1 parent d6dd394 commit d04c076
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Fixed non bringing a dialog windows on top when it had been already open https://github.com/GrandOrgue/grandorgue/issues/1961
- Fixed combination button lighting when a crescendo was in the Override=Off mode https://github.com/GrandOrgue/grandorgue/issues/1935
# 3.15.1 (2024-09-03)
- Fixed saving of Settings->Paths https://github.com/GrandOrgue/grandorgue/issues/1907
Expand Down
8 changes: 6 additions & 2 deletions src/grandorgue/dialogs/common/GODialogCloser.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2006 Milan Digital Audio LLC
* Copyright 2009-2023 GrandOrgue contributors (see AUTHORS)
* Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
* License GPL-2.0 or later
* (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
*/
Expand All @@ -14,7 +14,11 @@ GODialogCloser::GODialogCloser(wxDialog *pDlg) : p_dialog(pDlg) {

bool GODialogCloser::ShowAdvanced(bool isAutoDestroyable) {
m_AutoDestroyable = isAutoDestroyable;
return p_dialog->Show(true);

bool res = p_dialog->Show(true);

p_dialog->Raise();
return res;
}

int GODialogCloser::ShowModalAdvanced(bool isAutoDestroyable) {
Expand Down

0 comments on commit d04c076

Please sign in to comment.