recieve fixes

This commit is contained in:
Craig Raw 2020-06-28 16:05:07 +02:00
parent d8c94504c3
commit 8aa9d15620
3 changed files with 7 additions and 3 deletions

View file

@ -164,7 +164,7 @@ public class ReceiveController extends WalletFormController implements Initializ
@Subscribe
public void walletHistoryChanged(WalletHistoryChangedEvent event) {
if(event.getWallet().equals(walletForm.getWallet())) {
if(event.getHistoryChangedNodes().contains(currentEntry.getNode())) {
if(currentEntry != null && event.getHistoryChangedNodes().contains(currentEntry.getNode())) {
updateLastUsed();
}
}

View file

@ -10,4 +10,8 @@
.receive-form .form .fieldset:horizontal .label-container {
-fx-pref-width: 90px;
-fx-pref-height: 25px;
}
#lastUsedField .input-container {
-fx-alignment: center-left;
}

View file

@ -42,8 +42,8 @@
<Field text="Derivation:">
<CopyableLabel fx:id="derivationPath" />
</Field>
<Field text="Last Used:">
<Label fx:id="lastUsed" />
<Field fx:id="lastUsedField" text="Last Used:">
<Label fx:id="lastUsed" contentDisplay="RIGHT" />
</Field>
</Fieldset>
</Form>