Add the help page for the resolution mismatch dialog
This commit is contained in:
parent
6e40f4f920
commit
ce629c2393
2 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
||||||
#include "ass_file.h"
|
#include "ass_file.h"
|
||||||
#include "async_video_provider.h"
|
#include "async_video_provider.h"
|
||||||
#include "format.h"
|
#include "format.h"
|
||||||
|
#include "help_button.h"
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
#include "resolution_resampler.h"
|
#include "resolution_resampler.h"
|
||||||
|
|
||||||
|
@ -75,6 +76,7 @@ int prompt(wxWindow *parent, bool ar_changed, int sx, int sy, int vx, int vy) {
|
||||||
|
|
||||||
d.Bind(wxEVT_BUTTON, [&](wxCommandEvent&) { d.EndModal(rb->GetSelection() + 1); }, wxID_OK);
|
d.Bind(wxEVT_BUTTON, [&](wxCommandEvent&) { d.EndModal(rb->GetSelection() + 1); }, wxID_OK);
|
||||||
d.Bind(wxEVT_BUTTON, [&](wxCommandEvent&) { d.EndModal(0); }, wxID_CANCEL);
|
d.Bind(wxEVT_BUTTON, [&](wxCommandEvent&) { d.EndModal(0); }, wxID_CANCEL);
|
||||||
|
d.Bind(wxEVT_BUTTON, [&](wxCommandEvent&) { HelpButton::OpenPage("Resolution mismatch"); }, wxID_HELP);
|
||||||
|
|
||||||
return d.ShowModal();
|
return d.ShowModal();
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@ static const char *pages[][2] = {
|
||||||
{"Attachment Manager", "Attachment_Manager"},
|
{"Attachment Manager", "Attachment_Manager"},
|
||||||
{"Automation Manager", "Automation/Manager"},
|
{"Automation Manager", "Automation/Manager"},
|
||||||
{"Colour Picker", "Colour_Picker"},
|
{"Colour Picker", "Colour_Picker"},
|
||||||
{"Dummy Video", "Video#dummyvideo"},
|
{"Dummy Video", "Video#dummy-video"},
|
||||||
{"Export", "Exporting"},
|
{"Export", "Exporting"},
|
||||||
{"Fonts Collector", "Fonts_Collector"},
|
{"Fonts Collector", "Fonts_Collector"},
|
||||||
{"Kanji Timer", "Kanji_Timer"},
|
{"Kanji Timer", "Kanji_Timer"},
|
||||||
|
@ -48,6 +48,7 @@ static const char *pages[][2] = {
|
||||||
{"Paste Over", "Paste_Over"},
|
{"Paste Over", "Paste_Over"},
|
||||||
{"Properties", "Properties"},
|
{"Properties", "Properties"},
|
||||||
{"Resample resolution", "Resolution_Resampler"},
|
{"Resample resolution", "Resolution_Resampler"},
|
||||||
|
{"Resolution mismatch", "Script_Resolution#automatic-resolution-change"},
|
||||||
{"Shift Times", "Shift_Times"},
|
{"Shift Times", "Shift_Times"},
|
||||||
{"Select Lines", "Select_Lines"},
|
{"Select Lines", "Select_Lines"},
|
||||||
{"Spell Checker", "Spell_Checker"},
|
{"Spell Checker", "Spell_Checker"},
|
||||||
|
|
Loading…
Reference in a new issue