Open the correct dialog in tool/export

Originally committed to SVN as r5260.
This commit is contained in:
Thomas Goyne 2011-01-21 06:09:20 +00:00
parent ab00aa74ea
commit b851e50092
1 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@
#include "../dialog_fonts_collector.h" #include "../dialog_fonts_collector.h"
#include "../standard_paths.h" // tool_assdraw #include "../standard_paths.h" // tool_assdraw
#include "../video_context.h" // tool_font_collector #include "../video_context.h" // tool_font_collector
#include "../dialog_export.h"
#include "../dialog_resample.h" #include "../dialog_resample.h"
#include "../dialog_selection.h" #include "../dialog_selection.h"
#include "../dialog_styling_assistant.h" #include "../dialog_styling_assistant.h"
@ -84,7 +85,7 @@ struct tool_export : public Command {
void operator()(agi::Context *c) { void operator()(agi::Context *c) {
c->videoController->Stop(); c->videoController->Stop();
DialogResample(c).ShowModal(); DialogExport(c->parent, c->ass).ShowModal();
} }
}; };