Skip to content
Permalink
Browse files

Merge PR #2580: Log information about missing target channel

  • Loading branch information...
mkrautz committed Oct 20, 2016
2 parents c1cd99e + 9c5d02c commit 4add9cecb9c621e02d53f5cf49719698786d3338
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/mumble/MainWindow.cpp
@@ -931,8 +931,11 @@ void MainWindow::findDesiredChannel() {
g.sh->joinChannel(g.uiSession, chan->iId);
}
qtvUsers->setCurrentIndex(pmModel->index(chan));
} else if (g.uiSession) {
qtvUsers->setCurrentIndex(pmModel->index(ClientUser::get(g.uiSession)->cChannel));
} else {
g.l->log(Log::Information, tr("The targeted channel could not be found."));
if (g.uiSession) {
qtvUsers->setCurrentIndex(pmModel->index(ClientUser::get(g.uiSession)->cChannel));
}
}
updateMenuPermissions();
}

0 comments on commit 4add9ce

Please sign in to comment.
You can’t perform that action at this time.