mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Merge branch 'Applications/18.08'
This commit is contained in:
commit
f7c2bd3410
|
@ -1120,7 +1120,7 @@ void DolphinView::slotMouseButtonPressed(int itemIndex, Qt::MouseButtons buttons
|
|||
|
||||
void DolphinView::slotSelectedItemTextPressed(int index)
|
||||
{
|
||||
if (GeneralSettings::renameInline()) {
|
||||
if (GeneralSettings::renameInline() && !m_view->style()->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick)) {
|
||||
const KFileItem item = m_model->fileItem(index);
|
||||
const KFileItemListProperties capabilities(KFileItemList() << item);
|
||||
if (capabilities.supportsMoving()) {
|
||||
|
|
Loading…
Reference in a new issue