Commit 981a891d authored by Michael Vrána's avatar Michael Vrána

DOT dialog context menu fix,

EvaluateHandler id synchronization
parent b5e205fe
Pipeline #81040 passed with stages
in 10 minutes and 49 seconds
......@@ -45,6 +45,7 @@ class EvaluateHandler(brokerUrl: String) {
connection.close()
}
@Synchronized
private fun generateId(): Int {
if (nextId == Int.MAX_VALUE)
nextId = Int.MIN_VALUE
......
......@@ -141,7 +141,7 @@ export const DotDialog = () => {
id="saveMenu"
anchorEl={menuAnchor}
open={Boolean(menuAnchor)}
onClose={handleDialogClose}
onClose={handleMenuClose}
>
<MenuItem onClick={handleDOTDownload}>DOT</MenuItem>
<MenuItem onClick={handleSVGDownload}>SVG</MenuItem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment