|
@@ -239,6 +239,15 @@
|
|
|
#pragma mark 选中磁盘
|
|
|
- (void)didCheckDiskFunByPath:(NSString*)pathStr
|
|
|
{
|
|
|
+ if(self.defaultDiskPath
|
|
|
+ && self.defaultDiskPath.length>0
|
|
|
+ && ![self.defaultDiskPath isEqualToString:pathStr]){
|
|
|
+ //切换硬盘了 取消全选
|
|
|
+
|
|
|
+ _rightButton.selected = YES;
|
|
|
+ [self didClickSelectAllButton:_rightButton];
|
|
|
+ }
|
|
|
+
|
|
|
self.defaultDiskPath = pathStr;
|
|
|
//[self searchFileListFun];
|
|
|
[self setTitleAfterGetdiskFun];
|