Skip to content

Commit

Permalink
fixed NPE in refresh diagram aciton missed in #203
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRentzCAU committed Nov 21, 2024
1 parent 9dd279c commit a80788c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,9 @@ class KGraphDiagramServer extends LanguageAwareDiagramServer {
* Tells the server that the diagram should be refreshed.
*/
protected def handle(RefreshDiagramAction action) {
getOptions().putAll(action.options)
if (action.options !== null) {
getOptions().putAll(action.options)
}
updateDiagram()
return
}
Expand Down

0 comments on commit a80788c

Please sign in to comment.