From eccaf30646ff8db7653e11dfc13b4e38a7a39ee1 Mon Sep 17 00:00:00 2001 From: martynshaw99 Date: Tue, 26 Aug 2014 23:04:33 +0000 Subject: [PATCH] Steve's patch to actually use the new modal ShowHelpDialog. --- src/prefs/LibraryPrefs.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/prefs/LibraryPrefs.cpp b/src/prefs/LibraryPrefs.cpp index 68a65ad3c..ed67ab3c8 100644 --- a/src/prefs/LibraryPrefs.cpp +++ b/src/prefs/LibraryPrefs.cpp @@ -173,7 +173,8 @@ void LibraryPrefs::OnMP3FindButton(wxCommandEvent & WXUNUSED(event)) /// Opens help on downloading a suitable MP3 library is. void LibraryPrefs::OnMP3DownButton(wxCommandEvent & WXUNUSED(event)) { - HelpSystem::ShowHelpDialog(this, wxT("FAQ_Installation_and_Plug-ins#lame")); + // Modal help dialogue required here + HelpSystem::ShowHelpDialog(this, wxT("FAQ:Installation_and_Plug-Ins#lame"), true); } void LibraryPrefs::SetFFmpegVersionText() @@ -221,7 +222,7 @@ void LibraryPrefs::OnFFmpegFindButton(wxCommandEvent & WXUNUSED(event)) void LibraryPrefs::OnFFmpegDownButton(wxCommandEvent & WXUNUSED(event)) { - HelpSystem::ShowHelpDialog(this, wxT("FAQ_Installation_and_Plug-ins#ffdown")); + HelpSystem::ShowHelpDialog(this, wxT("FAQ:Installation_and_Plug-Ins#ffdown"), true); } bool LibraryPrefs::Apply()