Make sender-hash based styling ("colored nicks") work again
[quassel.git] / src / uisupport / bufferview.cpp
index 4111ad3..26ddf00 100644 (file)
@@ -276,7 +276,9 @@ void BufferView::removeSelectedBuffers(bool permanently) {
       continue;
 
     removedRows << bufferId;
+  }
 
+  foreach(BufferId bufferId, removedRows) {
     if(permanently)
       config()->requestRemoveBufferPermanently(bufferId);
     else