projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve inputline behavior
[quassel.git]
/
src
/
qtui
/
inputwidget.cpp
diff --git
a/src/qtui/inputwidget.cpp
b/src/qtui/inputwidget.cpp
index
1383319
..
dc8b6a6
100644
(file)
--- 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) {