We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d337ac commit 7982bfdCopy full SHA for 7982bfd
1 file changed
kratos.gid/kratos.tcl
@@ -395,9 +395,11 @@ proc Kratos::TransformProblemtype {old_dom old_filespd} {
395
396
# Get the old app
397
set old_activeapp_node [$old_dom selectNodes "//hiddenfield\[@n='activeapp'\]"]
398
+ set old_activeapp ""
399
if {$old_activeapp_node ne ""} {
400
set old_activeapp [get_domnode_attribute $old_activeapp_node v]
- } else {
401
+ }
402
+ if {$old_activeapp eq ""} {
403
WarnWin "Unable to get the active application in your model"
404
return ""
405
}
0 commit comments