mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-330584 SvgViewer call myViewPort.layout.show() from EDT
GitOrigin-RevId: 5469deafecdfb4e60b41014cd58c918471395769
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ff8a5e1a34
commit
cd321dd908
@@ -243,7 +243,7 @@ class JCefImageViewer(private val myFile: VirtualFile,
|
||||
myState = jsonParser.decodeFromString(s)
|
||||
}
|
||||
catch (_: Exception) {
|
||||
myUIComponent.showError()
|
||||
SwingUtilities.invokeLater { myUIComponent.showError() }
|
||||
return@addHandler JBCefJSQuery.Response(null, 255, "Failed to parse the viewer state")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user