From 1ddd9c4032870f97fd2e578b246a923cce72088e Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 8 Jun 2012 22:43:43 +0200 Subject: Inline renaming: Improve focus handling Fix issue that cancelling the inline-renaming by clicking on the other split view applies the wrong focus. Thanks to Frank Reininghaus for the initial patch and noticing this issue. CCBUG: 301252 --- src/kitemviews/kstandarditemlistwidget.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/kitemviews/kstandarditemlistwidget.h') diff --git a/src/kitemviews/kstandarditemlistwidget.h b/src/kitemviews/kstandarditemlistwidget.h index 76b0d143c..222d7b5f4 100644 --- a/src/kitemviews/kstandarditemlistwidget.h +++ b/src/kitemviews/kstandarditemlistwidget.h @@ -165,6 +165,12 @@ private: QRectF roleEditingRect(const QByteArray &role) const; + /** + * Closes the role editor and returns the focus back + * to the KItemListContainer. + */ + void closeRoleEditor(); + static QPixmap pixmapForIcon(const QString& name, int size); /** -- cgit v1.3.1