If it's a purchased pattern then you can easily re-download it. That might be a good idea. If it again causes a problem, then there may be something wrong with the pattern itself.
Since it's a Pattern Viewer file, I suggest you try downloading and installing PatternViewer (It's free) but be prepared to fight to get the "ownership" of the .pat extension back to PCStitch.
It's fairly easy to get it back but it might not show the icons properly. Just right-click on a file you wish to automatically open with PCStitch, move right with Open With highlighted and then select Choose Default Program. Make sure the check is marked in the lower left corner and select PCStitch or PCStitch Pro. If it's not showing, then you'll have to use the Browse option and point to the executable for the program by traversing the folder tree. It only needs to be done once and it works for all files of that extension.
If it does not restore your icons to the normal appearance, there is a much more complicated - and tricky - procedure to follow. I hesitate to try to explain that unless you need it.