mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 13:26:44 +00:00
recieve fixes
This commit is contained in:
parent
d8c94504c3
commit
8aa9d15620
3 changed files with 7 additions and 3 deletions
|
@ -164,7 +164,7 @@ public class ReceiveController extends WalletFormController implements Initializ
|
||||||
@Subscribe
|
@Subscribe
|
||||||
public void walletHistoryChanged(WalletHistoryChangedEvent event) {
|
public void walletHistoryChanged(WalletHistoryChangedEvent event) {
|
||||||
if(event.getWallet().equals(walletForm.getWallet())) {
|
if(event.getWallet().equals(walletForm.getWallet())) {
|
||||||
if(event.getHistoryChangedNodes().contains(currentEntry.getNode())) {
|
if(currentEntry != null && event.getHistoryChangedNodes().contains(currentEntry.getNode())) {
|
||||||
updateLastUsed();
|
updateLastUsed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,4 +10,8 @@
|
||||||
.receive-form .form .fieldset:horizontal .label-container {
|
.receive-form .form .fieldset:horizontal .label-container {
|
||||||
-fx-pref-width: 90px;
|
-fx-pref-width: 90px;
|
||||||
-fx-pref-height: 25px;
|
-fx-pref-height: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#lastUsedField .input-container {
|
||||||
|
-fx-alignment: center-left;
|
||||||
}
|
}
|
|
@ -42,8 +42,8 @@
|
||||||
<Field text="Derivation:">
|
<Field text="Derivation:">
|
||||||
<CopyableLabel fx:id="derivationPath" />
|
<CopyableLabel fx:id="derivationPath" />
|
||||||
</Field>
|
</Field>
|
||||||
<Field text="Last Used:">
|
<Field fx:id="lastUsedField" text="Last Used:">
|
||||||
<Label fx:id="lastUsed" />
|
<Label fx:id="lastUsed" contentDisplay="RIGHT" />
|
||||||
</Field>
|
</Field>
|
||||||
</Fieldset>
|
</Fieldset>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
Loading…
Reference in a new issue