mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-11-17 08:17:57 +00:00
show popup on startup error, e.g. close monero-wallet-rpc
This commit is contained in:
parent
4cc2d7d112
commit
f889aef403
1 changed files with 6 additions and 6 deletions
|
@ -670,14 +670,14 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||||
if (newValue != null) {
|
if (newValue != null) {
|
||||||
xmrInfoLabel.setId("splash-error-state-msg");
|
xmrInfoLabel.setId("splash-error-state-msg");
|
||||||
xmrInfoLabel.getStyleClass().add("error-text");
|
xmrInfoLabel.getStyleClass().add("error-text");
|
||||||
// if (xmrNetworkWarnMsgPopup == null) {
|
if (xmrNetworkWarnMsgPopup == null) {
|
||||||
// xmrNetworkWarnMsgPopup = new Popup().warning(newValue);
|
xmrNetworkWarnMsgPopup = new Popup().warning(newValue);
|
||||||
// xmrNetworkWarnMsgPopup.show();
|
xmrNetworkWarnMsgPopup.show();
|
||||||
// }
|
}
|
||||||
} else {
|
} else {
|
||||||
xmrInfoLabel.setId("footer-pane");
|
xmrInfoLabel.setId("footer-pane");
|
||||||
// if (xmrNetworkWarnMsgPopup != null)
|
if (xmrNetworkWarnMsgPopup != null)
|
||||||
// xmrNetworkWarnMsgPopup.hide();
|
xmrNetworkWarnMsgPopup.hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue