mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
Trim spaces when using cmd+u sheet (#2915)
This commit is contained in:
parent
f4bb09428b
commit
bafb8d6495
1 changed files with 1 additions and 0 deletions
|
@ -1544,6 +1544,7 @@ static void removeKeRangerRansomware()
|
|||
if (returnCode == 1)
|
||||
{
|
||||
NSString* urlString = [self.fUrlSheetController urlString];
|
||||
urlString = [urlString stringByTrimmingCharactersInSet:NSCharacterSet.whitespaceAndNewlineCharacterSet];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self openURL:urlString];
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue