This commit is contained in:
Nav
2023-06-10 15:50:54 +01:00
parent 03694fb521
commit 9a43017453
4 changed files with 6 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ namespace Bloom::Widgets
void TextInput::contextMenuEvent(QContextMenuEvent* event) {
if (QMenu* menu = this->createStandardContextMenu()) {
menu->setAttribute(Qt::WA_DeleteOnClose);
menu->setAttribute(Qt::WA_DeleteOnClose, true);
// Remove default icons
for (auto& action : menu->actions()) {