mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-07-13 06:42:53 +02:00
- disabled drag&drop for readonly channel lists
- fixed class cast exception when saving panasonic files after applying a reference list
This commit is contained in:
@@ -531,7 +531,7 @@ order by s.ntype,major_channel
|
||||
cmd.Parameters.Add(new SQLiteParameter("@lock", DbType.Int32));
|
||||
cmd.Parameters.Add(new SQLiteParameter("@skip", DbType.Int32));
|
||||
cmd.Prepare();
|
||||
foreach (DbChannel channel in channelList.Channels)
|
||||
foreach (ChannelInfo channel in channelList.Channels)
|
||||
{
|
||||
if (channel.NewProgramNr < 0)
|
||||
continue;
|
||||
@@ -550,7 +550,7 @@ order by s.ntype,major_channel
|
||||
cmd.CommandText = "delete from SVL where rowid=@rowid";
|
||||
cmd.Parameters.Clear();
|
||||
cmd.Parameters.Add(new SQLiteParameter("@rowid", DbType.Int32));
|
||||
foreach (DbChannel channel in channelList.Channels)
|
||||
foreach (ChannelInfo channel in channelList.Channels)
|
||||
{
|
||||
if (channel.NewProgramNr >= 0)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user