🐞 fix(UI模块): 修改进入退出编辑模式的条件
This commit is contained in:
parent
95fbe65de9
commit
d569cd205d
|
@ -253,7 +253,9 @@ void FileView::mouseReleaseEvent(QMouseEvent *event)
|
|||
setItemMode(FileView::ItemSelectMode::Edit);
|
||||
setDownloadBtn(true);
|
||||
} else {
|
||||
Q_EMIT sigItemSelectAll(false);
|
||||
if (m_itemMode == ItemSelectMode::Edit) {
|
||||
Q_EMIT sigItemSelectAll(false);
|
||||
}
|
||||
}
|
||||
QListView::mouseReleaseEvent(event);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue