┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemlistwidget.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-12-06 21:15:36 +0100
committerPeter Penz <[email protected]>2011-12-06 21:17:01 +0100
commit9d5d18739fde76f2d606a4cc9f1e7cc442faa7e0 (patch)
tree6079793840ce5b98c061c64552a20122f843773f /src/kitemviews/kfileitemlistwidget.cpp
parent9135ff953740f27686e3c5e11dce5b8cae6cd0d0 (diff)
Selection and current item fixes
- Remember selection + current item when switching view-modes - Fix the current item indicator alignment for selections - Set the item as current item when the selection toggle has been clicked
Diffstat (limited to 'src/kitemviews/kfileitemlistwidget.cpp')
-rw-r--r--src/kitemviews/kfileitemlistwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/kfileitemlistwidget.cpp b/src/kitemviews/kfileitemlistwidget.cpp
index 4eccf6862..c2e43e8e6 100644
--- a/src/kitemviews/kfileitemlistwidget.cpp
+++ b/src/kitemviews/kfileitemlistwidget.cpp
@@ -281,7 +281,7 @@ void KFileItemListWidget::setTextColor(const QColor& color)
QColor KFileItemListWidget::textColor() const
{
- if (m_customTextColor.isValid()) {
+ if (m_customTextColor.isValid() && !isSelected()) {
return m_customTextColor;
}