diff options
| author | Peter Penz <[email protected]> | 2012-06-08 22:43:43 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-06-08 22:51:01 +0200 |
| commit | 1ddd9c4032870f97fd2e578b246a923cce72088e (patch) | |
| tree | 510dc53763e946bead94426abf2ea77918172234 /src/kitemviews/kstandarditemlistwidget.h | |
| parent | ba6b4a663232dd7e2d6e9110eff5857434d78c4b (diff) | |
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
Diffstat (limited to 'src/kitemviews/kstandarditemlistwidget.h')
| -rw-r--r-- | src/kitemviews/kstandarditemlistwidget.h | 6 |
1 files changed, 6 insertions, 0 deletions
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); /** |
