}
-void NickView::startQuery(const QModelIndex & index) {
+void NickView::startQuery(const QModelIndex &index) {
+ if(index.data(NetworkModel::ItemTypeRole) != NetworkModel::IrcUserItemType)
+ return;
+
QString nick = nickFromModelIndex(index);
bool activated = false;