Fix QMenus from going out of screen boundaries

This commit is contained in:
LajamerrMittesdine
2018-07-13 05:56:46 -04:00
parent 12093d1bb6
commit 588aad751b
2 changed files with 3 additions and 8 deletions
+1 -2
View File
@@ -1093,8 +1093,7 @@ void ChannelView::addContextMenuItems(const MessageLayoutElement *hoveredElement
// // insert into input
// });
menu->move(QCursor::pos());
menu->show();
menu->popup(QCursor::pos());
menu->raise();
return;