summaryrefslogtreecommitdiffstats
path: root/Project/Workspace.cpp
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-09-09 17:01:27 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-09-09 17:01:27 -0300
commit66fd00eda79d106d07617ebdeb90cdd46786e691 (patch)
tree581b97a83c6a457a2461601fcd1039d801ffa62e /Project/Workspace.cpp
parent122d124108384bb4579b6d96956b931d7221d3c1 (diff)
downloadPSP.git-66fd00eda79d106d07617ebdeb90cdd46786e691.tar.gz
PSP.git-66fd00eda79d106d07617ebdeb90cdd46786e691.tar.xz
PSP.git-66fd00eda79d106d07617ebdeb90cdd46786e691.zip
Bus form under implementation
Diffstat (limited to 'Project/Workspace.cpp')
-rw-r--r--Project/Workspace.cpp4
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.