mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-17 16:50:26 +02:00
Help dialogs are modal only when necessary
This commit is contained in:
parent
a00f866b54
commit
839bb0a6db
@ -348,7 +348,7 @@ void TimerRecordDialog::OnAutoExportCheckBox_Change(wxCommandEvent& WXUNUSED(eve
|
|||||||
|
|
||||||
void TimerRecordDialog::OnHelpButtonClick(wxCommandEvent& WXUNUSED(event))
|
void TimerRecordDialog::OnHelpButtonClick(wxCommandEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
HelpSystem::ShowHelpDialog(this, wxT("Timer_Record"));
|
HelpSystem::ShowHelpDialog(this, wxT("Timer_Record"), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
wxString TimerRecordDialog::GetHoursMinsString(int iMinutes) {
|
wxString TimerRecordDialog::GetHoursMinsString(int iMinutes) {
|
||||||
|
@ -177,8 +177,10 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
|
|||||||
pFrame->SetSizeHints(pWnd->GetSize());
|
pFrame->SetSizeHints(pWnd->GetSize());
|
||||||
|
|
||||||
pFrame->SetName(Title);
|
pFrame->SetName(Title);
|
||||||
pFrame->Show( true );
|
if (bModal)
|
||||||
pWnd->ShowModal();
|
pWnd->ShowModal();
|
||||||
|
else
|
||||||
|
pWnd->Show(true);
|
||||||
|
|
||||||
html->SetRelatedStatusBar( 0 );
|
html->SetRelatedStatusBar( 0 );
|
||||||
html->SetFocus();
|
html->SetFocus();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user