- fixed: various .xml file formats could not be loaded anymore

- channels can also be swapped now be directly selecting two rows and clicking on "swap"
- swapping mark (strike through) is now automatically removed after swapping
- swapping is now recognized as a change and will prompt to save the list on exit
This commit is contained in:
Horst Beham
2022-12-04 18:18:52 +01:00
parent 6a6eb71059
commit cc80c6ae70
4 changed files with 41 additions and 6 deletions

View File

@@ -138,7 +138,9 @@ namespace ChanSort.Loader.Philips
if (majorVersion == -1)
return new DbSerializer(inputFile);
throw LoaderException.Fail(majorVersion == int.MinValue ? SerializerBase.ERR_UnknownFormat : $"Philips ChannelMap format version {majorVersion} is not supported (yet).");
if (majorVersion != int.MinValue)
throw LoaderException.Fail($"Philips ChannelMap format version {majorVersion} is not supported (yet).");
throw LoaderException.TryNext(SerializerBase.ERR_UnknownFormat);
}
}
}