diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-10-27 17:26:24 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-10-27 17:26:24 -0200 |
commit | 02c5a1d22a078c132aca40ea14b95800dd8257e9 (patch) | |
tree | 39f576cc3c66931c3448b85833a5f048a40b7802 /Project/SyncGenerator.cpp | |
parent | 0e3a45462bf8ce31be988679fd380baeecfb1b95 (diff) | |
download | PSP.git-02c5a1d22a078c132aca40ea14b95800dd8257e9.tar.gz PSP.git-02c5a1d22a078c132aca40ea14b95800dd8257e9.tar.xz PSP.git-02c5a1d22a078c132aca40ea14b95800dd8257e9.zip |
All elements forms implemented
Diffstat (limited to 'Project/SyncGenerator.cpp')
-rw-r--r-- | Project/SyncGenerator.cpp | 4 |
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; |