Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2009-11-22 19:31:26 +0300
committerThorvald Natvig <slicer@users.sourceforge.net>2009-11-22 19:31:49 +0300
commitf16570e84b264c07f6c326a14111574c1e6563b1 (patch)
treec8ca3b448d9e1df89064bf52020ce9f5a641be30 /src
parente96809e15d44e36001e4474c128cffe362623a1a (diff)
Stop findDesiredChannel while still connecting
Diffstat (limited to 'src')
-rw-r--r--src/mumble/MainWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mumble/MainWindow.cpp b/src/mumble/MainWindow.cpp
index a80a89006..56bc7f39d 100644
--- a/src/mumble/MainWindow.cpp
+++ b/src/mumble/MainWindow.cpp
@@ -506,8 +506,8 @@ void MainWindow::findDesiredChannel() {
g.sh->sendMessage(mpus);
}
qtvUsers->setCurrentIndex(pmModel->index(chan));
- } else {
- qtvUsers->setCurrentIndex(pmModel->index(ClientUser::get(g.uiSession)->cChannel));
+ } else if (g.uiSession) {
+ qtvUsers->setCurrentIndex(pmModel->index(ClientUser::get(g.uiSession)->cChannel));
}
updateMenuPermissions();
}