summaryrefslogtreecommitdiffstats
path: root/Project/StabilityEventList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/StabilityEventList.cpp')
-rw-r--r--Project/StabilityEventList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/StabilityEventList.cpp b/Project/StabilityEventList.cpp
index a0c7922..f976ead 100644
--- a/Project/StabilityEventList.cpp
+++ b/Project/StabilityEventList.cpp
@@ -148,7 +148,7 @@ void StabilityEventList::SetPowerElementSwitchingEvent(PowerElement* element, wx
{
SwitchingData swData = element->GetSwitchingData();
for(unsigned int i = 0; i < swData.swTime.size(); ++i) {
- if(swData.swType[i] == SW_INSERT) {
+ if(swData.swType[i] == SwitchingType::SW_INSERT) {
AddEvent(swData.swTime[i], _("Switching"), _("Insertion of \"") + elementName + _("\""), m_blueColour);
} else {
AddEvent(swData.swTime[i], _("Switching"), _("Removal of \"") + elementName + _("\""), m_redColour);