fix jfx error loading SupportView

This commit is contained in:
woodser 2024-05-28 12:04:08 -04:00
parent afcf5dd365
commit cf1fabd0bb

View File

@ -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) -> {