mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
show popup on startup error, e.g. close monero-wallet-rpc
This commit is contained in:
parent
4cc2d7d112
commit
f889aef403
@ -670,14 +670,14 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||
if (newValue != null) {
|
||||
xmrInfoLabel.setId("splash-error-state-msg");
|
||||
xmrInfoLabel.getStyleClass().add("error-text");
|
||||
// if (xmrNetworkWarnMsgPopup == null) {
|
||||
// xmrNetworkWarnMsgPopup = new Popup().warning(newValue);
|
||||
// xmrNetworkWarnMsgPopup.show();
|
||||
// }
|
||||
if (xmrNetworkWarnMsgPopup == null) {
|
||||
xmrNetworkWarnMsgPopup = new Popup().warning(newValue);
|
||||
xmrNetworkWarnMsgPopup.show();
|
||||
}
|
||||
} else {
|
||||
xmrInfoLabel.setId("footer-pane");
|
||||
// if (xmrNetworkWarnMsgPopup != null)
|
||||
// xmrNetworkWarnMsgPopup.hide();
|
||||
if (xmrNetworkWarnMsgPopup != null)
|
||||
xmrNetworkWarnMsgPopup.hide();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user