Skip to content

Commit

Permalink
Fixed not saving the main window position and size in organ settings G…
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg68 authored Apr 10, 2022
1 parent 2c34375 commit 7e65dad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Fixed not saving the main window position and size in organ settings https://github.com/GrandOrgue/grandorgue/issues/1093
- Fixed sound distortion while a reveberation is active https://github.com/GrandOrgue/grandorgue/issues/983
- Fixed hang on reopening sound device (exit from settings, Panic) while a reveberation is active https://github.com/GrandOrgue/grandorgue/issues/983
- Added support for building against system-wide ZitaConvolver library https://github.com/GrandOrgue/grandorgue/issues/1095
Expand Down
2 changes: 1 addition & 1 deletion src/grandorgue/GODocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void GODocument::ShowPanel(unsigned id) {
void GODocument::SyncState() {
m_organfile->SetVolume(m_sound.GetEngine().GetVolume());
if (p_MainWindow)
p_MainWindow->SetPosSize(p_MainWindow->GetPosSize());
m_organfile->GetMainWindowData()->SetWindowRect(p_MainWindow->GetPosSize());
for (unsigned i = 0; i < m_organfile->GetPanelCount(); i++)
m_organfile->GetPanel(i)->SetInitialOpenWindow(false);
GODocumentBase::SyncState();
Expand Down

0 comments on commit 7e65dad

Please sign in to comment.