summaryrefslogtreecommitdiffstats
path: root/konqueror/listview
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-11-09 16:28:13 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-11-09 16:28:38 +0100
commit0bc7a6a5ed10342ca2ae16aad00aa534ea855ce3 (patch)
treec8533a2ab7bb6004c9fd858447557639568ea145 /konqueror/listview
parent6525a4c1bb04142dd4e457cd7d418099843d0222 (diff)
downloadtdebase-0bc7a6a5ed10342ca2ae16aad00aa534ea855ce3.tar.gz
tdebase-0bc7a6a5ed10342ca2ae16aad00aa534ea855ce3.zip
Fix unintended automatic selection during renaming in Konqueror listview
This relates to Bug 1677
Diffstat (limited to 'konqueror/listview')
-rw-r--r--konqueror/listview/konq_listviewwidget.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/konqueror/listview/konq_listviewwidget.cc b/konqueror/listview/konq_listviewwidget.cc
index 352552f2e..858d7c9da 100644
--- a/konqueror/listview/konq_listviewwidget.cc
+++ b/konqueror/listview/konq_listviewwidget.cc
@@ -891,6 +891,7 @@ void KonqBaseListViewWidget::slotRenameNextItem(TQListViewItem *item, int)
return;
}
+ deactivateAutomaticSelection();
setCurrentItem(nextItem);
ListViewBrowserExtension *lvbe = dynamic_cast<ListViewBrowserExtension*>(m_pBrowserView->m_extension);
if (lvbe)
@@ -907,6 +908,7 @@ void KonqBaseListViewWidget::slotRenamePrevItem(TQListViewItem *item, int)
return;
}
+ deactivateAutomaticSelection();
setCurrentItem(prevItem);
ListViewBrowserExtension *lvbe = dynamic_cast<ListViewBrowserExtension*>(m_pBrowserView->m_extension);
if (lvbe)