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 94000aa6..952eaf32 100644 --- a/src/main/java/com/sparrowwallet/sparrow/terminal/wallet/UtxosDialog.java +++ b/src/main/java/com/sparrowwallet/sparrow/terminal/wallet/UtxosDialog.java @@ -192,7 +192,7 @@ public class UtxosDialog extends WalletDialog { SparrowTerminal.get().getGuiThread().invokeLater(() -> { TableModel tableModel = getTableModel(walletUtxosEntry); utxos.setTableModel(tableModel); - if(utxos.getRenderer().getViewTopRow() >= tableModel.getRowCount()) { + if(utxos.getTheme() != null && utxos.getRenderer().getViewTopRow() >= tableModel.getRowCount()) { utxos.getRenderer().setViewTopRow(0); } });