From 02c5a1d22a078c132aca40ea14b95800dd8257e9 Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Thu, 27 Oct 2016 17:26:24 -0200 Subject: All elements forms implemented --- Project/SyncGenerator.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Project/SyncGenerator.cpp') 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; -- cgit