----------------------------------------------------------------------------
| 1150 | |
| 1151 | //---------------------------------------------------------------------------- |
| 1152 | bool vtkSMSettings::SaveSettingsToFile(const std::string& filePath) |
| 1153 | { |
| 1154 | if (this->Internal->SettingCollections.empty()) |
| 1155 | { |
| 1156 | vtkVLogF(PARAVIEW_LOG_APPLICATION_VERBOSITY(), "settings empty, hence not saved."); |
| 1157 | return true; |
| 1158 | } |
| 1159 | |
| 1160 | this->Internal->SortCollectionsIfNeeded(); |
| 1161 | |
| 1162 | return this->SaveSettingsToFile(filePath, this->Internal->SettingCollections[0].Priority); |
| 1163 | } |
| 1164 | |
| 1165 | //---------------------------------------------------------------------------- |
| 1166 | bool vtkSMSettings::SaveSettingsToFile(const std::string& filePath, double priority) |