projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Newly created buffers are now selected automatically.
[quassel.git]
/
src
/
qtui
/
inputwidget.cpp
diff --git
a/src/qtui/inputwidget.cpp
b/src/qtui/inputwidget.cpp
index
0f4a7ee
..
c2ef731
100644
(file)
--- a/
src/qtui/inputwidget.cpp
+++ b/
src/qtui/inputwidget.cpp
@@
-96,7
+96,7
@@
const Network *InputWidget::currentNetwork() const {
}
void InputWidget::setNetwork(const Network *network) {
- if(_networkId == network->networkId())
+ if(
!network ||
_networkId == network->networkId())
return;
const Network *previousNet = Client::network(_networkId);