Prevent multiple reply to addresses
This commit is contained in:
@@ -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.
|
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
|
sudo apt install -f
|
||||||
```
|
```
|
||||||
|
|
||||||
Or you can download and run the binaries directly.
|
Or you can download and run the binaries directly.
|
||||||
```
|
```
|
||||||
tar -xvf zec-qt-wallet-v0.5.1.tar.gz
|
tar -xvf zec-qt-wallet-v0.5.2.tar.gz
|
||||||
./zec-qt-wallet-v0.5.1/zec-qt-wallet
|
./zec-qt-wallet-v0.5.2/zec-qt-wallet
|
||||||
```
|
```
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|||||||
@@ -301,6 +301,10 @@ void MainWindow::memoButtonClicked(int number) {
|
|||||||
if (replyTo.isEmpty())
|
if (replyTo.isEmpty())
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
auto curText = memoDialog.memoTxt->toPlainText();
|
||||||
|
if (curText.endsWith(replyTo))
|
||||||
|
return;
|
||||||
|
|
||||||
memoDialog.memoTxt->setPlainText(memoDialog.memoTxt->toPlainText() +
|
memoDialog.memoTxt->setPlainText(memoDialog.memoTxt->toPlainText() +
|
||||||
"\n" + tr("Reply to") + ":\n" + replyTo);
|
"\n" + tr("Reply to") + ":\n" + replyTo);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user