Skip to content

Commit

Permalink
bugfix: crash when removing expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
a committed Sep 27, 2023
1 parent d8d48a4 commit 311a447
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infovars.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ func showExprMenu(parentw *nucular.Window, exprMenuIdx int, v *Variable, clipb [
}
if w.MenuItem(label.TA("Remove expression", "LC")) {
removeExpression(exprMenuIdx)
return
}
if w.MenuItem(label.TA("Load parameters...", "LC")) {
w.Master().PopupOpen(fmt.Sprintf("Load parameters for %s", localsPanel.expressions[exprMenuIdx].Expr), dynamicPopupFlags, rect.Rect{100, 100, 400, 700}, true, configureLoadParameters(exprMenuIdx))
Expand Down

0 comments on commit 311a447

Please sign in to comment.