| 84 | } |
| 85 | |
| 86 | bool ProjectWidget::IsValid() const { |
| 87 | return ExistsDir(GetImagePath()) && !ExistsDir(GetDatabasePath()) && |
| 88 | ExistsDir(GetParentDir(GetDatabasePath())); |
| 89 | } |
| 90 | |
| 91 | void ProjectWidget::Reset() { |
| 92 | database_path_text_->clear(); |
no test coverage detected