1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Help dialogs are modal only when necessary

This commit is contained in:
Paul Licameli
2016-06-21 11:54:21 -04:00
parent a00f866b54
commit 839bb0a6db
2 changed files with 5 additions and 3 deletions

View File

@@ -177,8 +177,10 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
pFrame->SetSizeHints(pWnd->GetSize());
pFrame->SetName(Title);
pFrame->Show( true );
pWnd->ShowModal();
if (bModal)
pWnd->ShowModal();
else
pWnd->Show(true);
html->SetRelatedStatusBar( 0 );
html->SetFocus();