diff --git a/src/main/java/com/sparrowwallet/sparrow/terminal/wallet/UtxosDialog.java b/src/main/java/com/sparrowwallet/sparrow/terminal/wallet/UtxosDialog.java index 42ac5e67..94000aa6 100644 --- a/src/main/java/com/sparrowwallet/sparrow/terminal/wallet/UtxosDialog.java +++ b/src/main/java/com/sparrowwallet/sparrow/terminal/wallet/UtxosDialog.java @@ -192,6 +192,9 @@ public class UtxosDialog extends WalletDialog { SparrowTerminal.get().getGuiThread().invokeLater(() -> { TableModel tableModel = getTableModel(walletUtxosEntry); utxos.setTableModel(tableModel); + if(utxos.getRenderer().getViewTopRow() >= tableModel.getRowCount()) { + utxos.getRenderer().setViewTopRow(0); + } }); }