projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Only expand network items in bufferviews.
[quassel.git]
/
gui
/
bufferview.cpp
diff --git
a/gui/bufferview.cpp
b/gui/bufferview.cpp
index
7e2cf21
..
03ab758
100644
(file)
--- a/
gui/bufferview.cpp
+++ b/
gui/bufferview.cpp
@@
-108,5
+108,5
@@
void BufferView::dragEnterEvent(QDragEnterEvent *event) {
}
void BufferView::rowsInserted(const QModelIndex & parent, int start, int end) {
- setExpanded(parent, true);
+
if(parent.parent() == QModelIndex())
setExpanded(parent, true);
}