mirror of https://gitee.com/openkylin/peony.git
修复双击网络也进入重命名编辑模式的问题
This commit is contained in:
parent
95c9776286
commit
5c88ef3e6c
|
@ -513,7 +513,8 @@ void IconView::slotRename()
|
|||
if (getDirectoryUri().startsWith("trash://")
|
||||
|| getDirectoryUri().startsWith("recent://")
|
||||
|| getDirectoryUri().startsWith("favorite://")
|
||||
|| getDirectoryUri().startsWith("search://"))
|
||||
|| getDirectoryUri().startsWith("search://")
|
||||
|| getDirectoryUri().startsWith("network://"))
|
||||
return;
|
||||
|
||||
//standardPaths not allow rename
|
||||
|
|
|
@ -649,7 +649,8 @@ void ListView::slotRename()
|
|||
if (getDirectoryUri().startsWith("trash://")
|
||||
|| getDirectoryUri().startsWith("recent://")
|
||||
|| getDirectoryUri().startsWith("favorite://")
|
||||
|| getDirectoryUri().startsWith("search://"))
|
||||
|| getDirectoryUri().startsWith("search://")
|
||||
|| getDirectoryUri().startsWith("network://"))
|
||||
return;
|
||||
|
||||
//standardPaths not allow rename
|
||||
|
|
Loading…
Reference in New Issue