From 3c81108cc681d1c15f5b3dc9168a9bab6c28cab1 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Tue, 23 Oct 2018 02:06:24 -0400 Subject: [PATCH] Moved relay responses into the main window --- mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 18860b7..e77714a 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -8887,6 +8887,7 @@ void MainWindow::processAlertReplyForCommand(CommandDetail d, QString from, QStr } if(btn == rb){ +#if USE_RELAY_REPLY_DIALOG auto diag = new MessageReplyDialog(this); diag->setWindowTitle("Message Reply"); diag->setLabel(QString("Message to send to %1:").arg(fromLabel)); @@ -8896,6 +8897,9 @@ void MainWindow::processAlertReplyForCommand(CommandDetail d, QString from, QStr }); diag->show(); +#else + addMessageText(QString("%1%2[MESSAGE]").arg(from).arg(cmd), true, true); +#endif } });