From ff88ff9d0820711fba1389f9148e348e8b90e357 Mon Sep 17 00:00:00 2001 From: defnax Date: Thu, 7 May 2020 02:10:18 +0200 Subject: [PATCH] Reorder the Chat menu --- retroshare-gui/src/gui/chat/ChatWidget.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/retroshare-gui/src/gui/chat/ChatWidget.cpp b/retroshare-gui/src/gui/chat/ChatWidget.cpp index e8122ad6a..fdb919018 100644 --- a/retroshare-gui/src/gui/chat/ChatWidget.cpp +++ b/retroshare-gui/src/gui/chat/ChatWidget.cpp @@ -200,12 +200,14 @@ ChatWidget::ChatWidget(QWidget *parent) #endif QMenu *menu = new QMenu(); + menu->addAction(ui->actionMessageHistory); + menu->addMenu(fontmenu); + menu->addSeparator(); + menu->addAction(ui->actionSaveChatHistory); menu->addAction(ui->actionClearChatHistory); menu->addAction(ui->actionDeleteChatHistory); - menu->addAction(ui->actionSaveChatHistory); - menu->addAction(ui->actionMessageHistory); + ui->pushtoolsButton->setMenu(menu); - menu->addMenu(fontmenu); ui->actionSendAsPlainText->setChecked(Settings->getChatSendAsPlainTextByDef()); ui->chatTextEdit->setOnlyPlainText(ui->actionSendAsPlainText->isChecked());