| 474 | |
| 475 | |
| 476 | void CsvWindow::setChanged(bool changed) { |
| 477 | std::string title = name; |
| 478 | this->changed = changed; |
| 479 | if( changed ) { |
| 480 | title += " *"; |
| 481 | if( isUndoDisabled() ) { |
| 482 | changedWhileUndoDisabled = true; |
| 483 | } |
| 484 | } |
| 485 | win->copy_label(title.c_str()); |
| 486 | Fl::check(); |
| 487 | } |
| 488 | |
| 489 | bool CsvWindow::isChanged() { |
| 490 | return this->changed; |
no test coverage detected