X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Finputwidget.cpp;h=dc8b6a6a6b1ada1fb4c88cda00e9158f41b7fa6f;hp=1383319203e532e2cf295fb078b789ea893c2538;hb=b819fa39f3053f047f5389456570d00020051688;hpb=e036ee9df2219667ce1cc22d42a7c50fbdf5b3ba diff --git a/src/qtui/inputwidget.cpp b/src/qtui/inputwidget.cpp index 13833192..dc8b6a6a 100644 --- a/src/qtui/inputwidget.cpp +++ b/src/qtui/inputwidget.cpp @@ -146,7 +146,7 @@ void InputWidget::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int void InputWidget::updateEnabledState() { QModelIndex currentIndex = selectionModel()->currentIndex(); - + const Network *net = Client::networkModel()->networkByIndex(currentIndex); bool enabled = false; if(net) {