| 45 | |
| 46 | |
| 47 | bool ModuleAction::CComment::SaveState(const CMainFrame &MainFrm) { |
| 48 | auto &modfile = GET_MODULE(); |
| 49 | oldComment_ = modfile.GetComment(); |
| 50 | oldShow_ = modfile.ShowsCommentOnOpen(); |
| 51 | return true; // no merge because the comment dialog is modal |
| 52 | } |
| 53 | |
| 54 | void ModuleAction::CComment::Undo(CMainFrame &MainFrm) { |
| 55 | GET_MODULE().SetComment(oldComment_, oldShow_); |
nothing calls this directly
no test coverage detected