double click progress string in main window instead of single click to toggle it
This commit is contained in:
parent
ab154c3971
commit
433404eff2
|
@ -141,14 +141,7 @@
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ([self pointInProgressRect: fClickPoint])
|
if ([self pointInMinimalStatusRect: fClickPoint])
|
||||||
{
|
|
||||||
[fDefaults setBool: ![fDefaults boolForKey: @"DisplayStatusProgressSelected"]
|
|
||||||
forKey: @"DisplayStatusProgressSelected"];
|
|
||||||
fClickPoint = NSZeroPoint;
|
|
||||||
[self reloadData];
|
|
||||||
}
|
|
||||||
else if ([self pointInMinimalStatusRect: fClickPoint])
|
|
||||||
{
|
{
|
||||||
[fDefaults setBool: ![fDefaults boolForKey: @"DisplaySmallStatusRegular"] forKey: @"DisplaySmallStatusRegular"];
|
[fDefaults setBool: ![fDefaults boolForKey: @"DisplaySmallStatusRegular"] forKey: @"DisplaySmallStatusRegular"];
|
||||||
fClickPoint = NSZeroPoint;
|
fClickPoint = NSZeroPoint;
|
||||||
|
@ -187,7 +180,12 @@
|
||||||
[[fTorrents objectAtIndex: row] revealData];
|
[[fTorrents objectAtIndex: row] revealData];
|
||||||
else if ([event clickCount] == 2 && !NSEqualPoints(fClickPoint, NSZeroPoint))
|
else if ([event clickCount] == 2 && !NSEqualPoints(fClickPoint, NSZeroPoint))
|
||||||
{
|
{
|
||||||
if ([self pointInIconRect: point])
|
if ([self pointInProgressRect: fClickPoint])
|
||||||
|
{
|
||||||
|
[fDefaults setBool: ![fDefaults boolForKey: @"DisplayStatusProgressSelected"] forKey: @"DisplayStatusProgressSelected"];
|
||||||
|
[self reloadData];
|
||||||
|
}
|
||||||
|
else if ([self pointInIconRect: point])
|
||||||
[[fTorrents objectAtIndex: row] revealData];
|
[[fTorrents objectAtIndex: row] revealData];
|
||||||
else if (![self pointInActionRect: point])
|
else if (![self pointInActionRect: point])
|
||||||
[fController showInfo: nil];
|
[fController showInfo: nil];
|
||||||
|
|
Loading…
Reference in New Issue