summaryrefslogtreecommitdiffstats
path: root/Project/SyncGenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/SyncGenerator.cpp')
-rw-r--r--Project/SyncGenerator.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Project/SyncGenerator.cpp b/Project/SyncGenerator.cpp
index 7632b98..e30e918 100644
--- a/Project/SyncGenerator.cpp
+++ b/Project/SyncGenerator.cpp
@@ -1,3 +1,4 @@
+#include "SyncMachineForm.h"
#include "SyncGenerator.h"
SyncGenerator::SyncGenerator() : Machines()
@@ -45,7 +46,8 @@ bool SyncGenerator::GetContextMenu(wxMenu& menu)
bool SyncGenerator::ShowForm(wxWindow* parent, Element* element)
{
- GeneratorForm* generatorForm = new GeneratorForm(parent, this);
+ SyncMachineForm* generatorForm = new SyncMachineForm(parent, this);
+ generatorForm->SetTitle(_("Generator"));
if(generatorForm->ShowModal() == wxID_OK) {
generatorForm->Destroy();
return true;