X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=8e2c006d11ff1aa2cb77f9daf0eae74a477bf328;hp=7f8de3b15373c9033cda9901995b23d13d20b40f;hb=e2aa07398950ba83b47d1772eb8fb23bc8fdd931;hpb=a0754f069472a0ef611c191801d9f52b6357ef50 diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 7f8de3b1..8e2c006d 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -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)));