| 243 | } |
| 244 | |
| 245 | bool CtrlrPanelResource::reloadFromSourceFile() |
| 246 | { |
| 247 | if (getSourceFile().existsAsFile()) |
| 248 | { |
| 249 | if (getSourceFile().copyFileTo (resourceDataFile)) |
| 250 | { |
| 251 | resourceLoaded = false; |
| 252 | load(); |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | return (true); |
| 257 | } |
no test coverage detected