summaryrefslogtreecommitdiffstats
path: root/Project/Transformer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Transformer.cpp')
-rw-r--r--Project/Transformer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Project/Transformer.cpp b/Project/Transformer.cpp
index 8ebf4f3..93013e0 100644
--- a/Project/Transformer.cpp
+++ b/Project/Transformer.cpp
@@ -357,3 +357,9 @@ bool Transformer::SetNodeParent(Element* parent)
}
return false;
}
+
+void Transformer::SetPowerFlowDirection(PowerFlowDirection pfDirection)
+{
+ m_pfDirection = pfDirection;
+ UpdatePowerFlowArrowsPosition();
+}