| 70 | this->SetValue(this->Options[this->CurrentOption]); |
| 71 | } |
| 72 | void cmCursesOptionsWidget::PreviousOption() |
| 73 | { |
| 74 | if (this->CurrentOption == 0) { |
| 75 | this->CurrentOption = this->Options.size() - 1; |
| 76 | } else { |
| 77 | this->CurrentOption--; |
| 78 | } |
| 79 | this->SetValue(this->Options[this->CurrentOption]); |
| 80 | } |
| 81 | |
| 82 | void cmCursesOptionsWidget::SetOption(std::string const& value) |
| 83 | { |
no test coverage detected