made the NickSelector at least show your current nick
[quassel.git] / src / qtui / mainwin.cpp
index 7f8de3b..8e2c006 100644 (file)
@@ -129,6 +129,7 @@ void MainWin::init() {
 
   // attach the BufferWidget to the PropertyMapper
   Client::bufferModel()->mapProperty(0, NetworkModel::BufferIdRole, ui.bufferWidget, "currentBuffer");
+  Client::bufferModel()->mapProperty(0, NetworkModel::NetworkIdRole, ui.bufferWidget, "currentNetwork");
   connect(Client::networkModel(), SIGNAL(bufferAboutToBeRemoved(BufferId)),
           ui.bufferWidget, SLOT(removeBuffer(BufferId)));