Show error on SignedDigit contract (#3376)

This commit is contained in:
user411 2021-07-07 14:51:29 -06:00 committed by GitHub
parent b75d1259c1
commit 253f7444c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -430,7 +430,9 @@ class CreateDLCOfferDialog extends Logging {
previewGraphButton)
nextRow = 4
addRemainingFields()
case _: SignedDigitDecompositionEventDescriptor => ()
case _: SignedDigitDecompositionEventDescriptor =>
throw new RuntimeException(
s"SignedDigitDecompositionEventDescriptors are not supported yet")
}
dialog.dialogPane().getScene.getWindow.sizeToScene()
}