Prevent multiple reply to addresses
This commit is contained in:
parent
7540e8fb54
commit
46edf97144
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue