diff options
Diffstat (limited to 'Project/Workspace.cpp')
-rw-r--r-- | Project/Workspace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Project/Workspace.cpp b/Project/Workspace.cpp index 59bd4e0..b0dc8bf 100644 --- a/Project/Workspace.cpp +++ b/Project/Workspace.cpp @@ -1,7 +1,7 @@ #include "Workspace.h" #include "Element.h" -#include "Bus.h" +//#include "Bus.h" #include "Line.h" #include "Transformer.h" #include "SyncGenerator.h" @@ -231,7 +231,7 @@ void Workspace::OnLeftDoubleClick(wxMouseEvent& event) // Click in an element. if(element->Contains(m_camera->ScreenToWorld(event.GetPosition()))) { - // Open the form. + element->ShowForm(this); } // Click in a switch. |