- FIX: Resizing a column caused an exception

- FIX: Deleting satellite channels from an SCM file did not work correctly
- Improved SCM file format detection
- Samsung E/F-Series: channels in the favorite lists now use their prog#  instead of all being put at #1
- fixed LG unit tests
- fixed Samsung tests
This commit is contained in:
hbeham
2013-06-23 23:22:09 +02:00
parent 42396aff6e
commit 6d3826cd2e
36 changed files with 5569 additions and 5539 deletions

View File

@@ -24,7 +24,7 @@ namespace ChanSort.Ui
{
public partial class MainForm : XtraForm
{
public const string AppVersion = "v2013-06-23";
public const string AppVersion = "v2013-06-24";
private const int MaxMruEntries = 5;
@@ -1683,6 +1683,7 @@ namespace ChanSort.Ui
{
GridView view = (GridView)sender;
this.downHit = view.CalcHitInfo(e.Location);
this.dragDropInfo = null;
if (!view.IsDataRow(downHit.RowHandle))
return;
if (e.Button == MouseButtons.Left)
@@ -1758,7 +1759,7 @@ namespace ChanSort.Ui
try
{
var view = (GridView)sender;
if (this.downHit == null || e.Button != MouseButtons.Left || view.ActiveEditor != null || ModifierKeys != Keys.None)
if (this.downHit == null || downHit.RowHandle < 0 || e.Button != MouseButtons.Left || view.ActiveEditor != null || ModifierKeys != Keys.None)
return;
// drag/drop only allowed when left grid is sorted by NewSlotNr
if (!this.IsLeftGridSortedByNewProgNr)