+
+ // Buffer-specific actions
+ // We add these in ChatItem (rather than the scene), because they depend on the current clickable
+ if(chatScene()->isSingleBufferScene()) {
+ QModelIndex index = Client::networkModel()->bufferIndex(chatScene()->singleBufferId());
+ if(index.isValid()) {
+ menu->addSeparator();
+ QtUi::mainWindow()->allBuffersView()->addActionsToMenu(menu, index);
+ }
+ }
+