Moved relay responses into the main window

This commit is contained in:
Jordan Sherer 2018-10-23 02:06:24 -04:00
parent 71ed0c1f10
commit 3c81108cc6

View File

@ -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
}
});