Skip to content

Commit

Permalink
fix: move verification to up
Browse files Browse the repository at this point in the history
  • Loading branch information
ThDev-only committed Oct 26, 2024
1 parent c6e461a commit e9747ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions robok-gui/src/main/java/org/robok/easyui/GUIBuilder.kt
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,12 @@ class GUIBuilder(
}

fun closeBlockComponent() {
if (closingTagLayoutList.isNotEmpty()) {
if(isConfigEnable){
if(isConfigEnable){
isConfigEnable = false
return
}

if (closingTagLayoutList.isNotEmpty()) {
/* if (closingTagLayoutList.last().equals(Config.getName())) {
xmlCodeList.newLineBroken(comment("It's here"))
config = Config(orientation = orientation, style = style)
Expand Down

0 comments on commit e9747ac

Please sign in to comment.