mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
fix jfx error loading SupportView
This commit is contained in:
parent
afcf5dd365
commit
cf1fabd0bb
@ -35,6 +35,8 @@
|
|||||||
package haveno.desktop.main.support;
|
package haveno.desktop.main.support;
|
||||||
|
|
||||||
import com.google.inject.Inject;
|
import com.google.inject.Inject;
|
||||||
|
|
||||||
|
import haveno.common.UserThread;
|
||||||
import haveno.common.app.DevEnv;
|
import haveno.common.app.DevEnv;
|
||||||
import haveno.common.crypto.KeyRing;
|
import haveno.common.crypto.KeyRing;
|
||||||
import haveno.common.crypto.PubKeyRing;
|
import haveno.common.crypto.PubKeyRing;
|
||||||
@ -143,7 +145,7 @@ public class SupportView extends ActivatableView<TabPane, Void> {
|
|||||||
|
|
||||||
navigationListener = (viewPath, data) -> {
|
navigationListener = (viewPath, data) -> {
|
||||||
if (viewPath.size() == 3 && viewPath.indexOf(SupportView.class) == 1)
|
if (viewPath.size() == 3 && viewPath.indexOf(SupportView.class) == 1)
|
||||||
loadView(viewPath.tip());
|
UserThread.execute(() -> loadView(viewPath.tip()));
|
||||||
};
|
};
|
||||||
|
|
||||||
tabChangeListener = (ov, oldValue, newValue) -> {
|
tabChangeListener = (ov, oldValue, newValue) -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user