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 @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();
} }
} }

View file

@ -11,3 +11,7 @@
-fx-pref-width: 90px; -fx-pref-width: 90px;
-fx-pref-height: 25px; -fx-pref-height: 25px;
} }
#lastUsedField .input-container {
-fx-alignment: center-left;
}

View file

@ -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>