Prevent multiple reply to addresses

This commit is contained in:
Aditya Kulkarni 2018-12-04 10:02:32 -08:00
parent 7540e8fb54
commit 46edf97144
2 changed files with 7 additions and 3 deletions

View File

@ -10,14 +10,14 @@ Head over to the releases page and grab the latest installers or binary. https:/
If you are on Debian/Ubuntu, please download the `.deb` package and install it.
```
sudo dpkg -i linux-deb-zec-qt-wallet-v0.5.1.deb
sudo dpkg -i linux-deb-zec-qt-wallet-v0.5.2.deb
sudo apt install -f
```
Or you can download and run the binaries directly.
```
tar -xvf zec-qt-wallet-v0.5.1.tar.gz
./zec-qt-wallet-v0.5.1/zec-qt-wallet
tar -xvf zec-qt-wallet-v0.5.2.tar.gz
./zec-qt-wallet-v0.5.2/zec-qt-wallet
```
### Windows

View File

@ -301,6 +301,10 @@ void MainWindow::memoButtonClicked(int number) {
if (replyTo.isEmpty())
return;
}
auto curText = memoDialog.memoTxt->toPlainText();
if (curText.endsWith(replyTo))
return;
memoDialog.memoTxt->setPlainText(memoDialog.memoTxt->toPlainText() +
"\n" + tr("Reply to") + ":\n" + replyTo);