Skip to content

Commit

Permalink
Remove the "Fixed" option, E+ doesn't support it
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Aug 29, 2024
1 parent 785fe9e commit 8feabf8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/openstudio_lib/ScheduleFileInspectorView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ void ScheduleFileInspectorView::createLayout() {
m_columnSeparator = new OSComboBox2();
m_columnSeparator->addItem("Comma");
m_columnSeparator->addItem("Tab");
m_columnSeparator->addItem("Fixed");
m_columnSeparator->addItem("Space");
m_columnSeparator->addItem("Semicolon");
m_columnSeparator->setEnabled(true);
Expand Down Expand Up @@ -339,7 +338,7 @@ void ScheduleFileInspectorView::attach(openstudio::model::ScheduleFile& sch) {
m_columnSeparator->bind<std::string>(
*m_sch, static_cast<std::string (*)(const std::string&)>(&openstudio::toString),
// ScheduleFile::columnSeparatorValues does not exist: https://github.com/NREL/OpenStudio/issues/5246
[]() { return std::vector<std::string>{"Comma", "Tab", "Fixed", "Space", "Semicolon"}; },
[]() { return std::vector<std::string>{"Comma", "Tab", "Space", "Semicolon"}; },
std::bind(&model::ScheduleFile::columnSeparator, m_sch.get_ptr()),
std::bind(&model::ScheduleFile::setColumnSeparator, m_sch.get_ptr(), std::placeholders::_1), boost::none, boost::none);

Expand Down

0 comments on commit 8feabf8

Please sign in to comment.