X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=gui%2Fbufferviewwidget.cpp;h=a78754e76e47dc03bda8a8fc50e674c03a736270;hp=04331c387911c56d0c59f46d10a36953bf5989da;hb=f0a6776fc5102ff6a7fe1469917fe231e4cd3a8a;hpb=4ccba157efd91e531a3106012f5d54ba372a0292 diff --git a/gui/bufferviewwidget.cpp b/gui/bufferviewwidget.cpp index 04331c38..a78754e7 100644 --- a/gui/bufferviewwidget.cpp +++ b/gui/bufferviewwidget.cpp @@ -154,7 +154,7 @@ BufferTreeModel::BufferTreeModel(QObject *parent) : QAbstractItemModel(parent) { QList rootData; rootData << "Buffer" << "Network"; rootItem = new TreeItem(rootData, 0); - + connect(this, SIGNAL(fakeUserInput(BufferId, QString)), ClientProxy::instance(), SLOT(gsUserInput(BufferId, QString))); } @@ -361,6 +361,7 @@ void BufferTreeModel::changeCurrent(const QModelIndex ¤t, const QModelInde currentBuffer = getBufferByIndex(current); bufferActivity(Buffer::NoActivity, currentBuffer); emit bufferSelected(currentBuffer); + emit updateSelection(current, QItemSelectionModel::ClearAndSelect); } }