mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 23:36:00 -04:00
Use UI thread for warning popup
This commit is contained in:
parent
fff42d7d74
commit
8037c33e79
@ -478,12 +478,12 @@ public class MainViewModel implements ViewModel {
|
||||
"please file a bug report to the Github page.\n" +
|
||||
"Error=" + e.getMessage();
|
||||
log.error(msg);
|
||||
new Popup<>().warning(msg)
|
||||
UserThread.execute(() -> new Popup<>().warning(msg)
|
||||
.actionButtonText("Shut down")
|
||||
.onAction(() -> BitsquareApp.shutDownHandler.run())
|
||||
.closeButtonText("Report bug at Github issues")
|
||||
.onClose(() -> Utilities.openWebPage("https://github.com/bitsquare/bitsquare/issues"))
|
||||
.show();
|
||||
.show());
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user