Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make sure last string in bandpass filter is saved

  • Loading branch information...
commit 063c39320404bfdf25105b077245499fd010425b 1 parent 689be7b
jsiegle authored
View
5 Source/Processors/Editors/FilterEditor.cpp
@@ -202,6 +202,9 @@ void FilterEditor::saveCustomParameters(XmlElement* xml)
xml->setAttribute("Type", "FilterEditor");
+ lastHighCutString = highCutValue->getText();
+ lastLowCutString = lowCutValue->getText();
+
XmlElement* textLabelValues = xml->createNewChildElement("VALUES");
textLabelValues->setAttribute("HighCut",lastHighCutString);
textLabelValues->setAttribute("LowCut",lastLowCutString);
@@ -220,4 +223,6 @@ void FilterEditor::loadCustomParameters(XmlElement* xml)
applyFilterOnADC->setToggleState(xmlNode->getBoolAttribute("ApplyToADC",false),true);
}
}
+
+
}
View
2  Source/UI/EditorViewport.cpp
@@ -294,7 +294,7 @@ void EditorViewport::clearSignalChain()
}
- repaint();
+ //repaint();
}
void EditorViewport::makeEditorVisible(GenericEditor* editor, bool highlight, bool updateSettings)
View
3  Source/UI/SignalChainManager.cpp
@@ -395,8 +395,9 @@ void SignalChainManager::updateVisibleEditors(GenericEditor* activeEditor,
else
{
- if (editorToAdd->tabNumber() >= 0)
+ if (editorToAdd->tabNumber() >= 0 && editorToAdd->tabNumber() < signalChainArray.size())
signalChainArray[editorToAdd->tabNumber()]->setToggleState(true, false);
+
std::cout << "No source found." << std::endl;
editorToAdd = 0;
Please sign in to comment.
Something went wrong with that request. Please try again.