Skip to content

Commit

Permalink
Rules Manager: remove unnecessary dialog closure and ensuring UI refr…
Browse files Browse the repository at this point in the history
…esh with updated rule names (#25)
  • Loading branch information
AAClause authored Mar 11, 2024
1 parent 8c16a7d commit 1a5fec4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions addon/globalPlugins/webAccess/gui/rulesManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,10 +605,8 @@ def onRuleEdit(self, evt):
context = self.context.copy() # Shallow copy
context["rule"] = rule
if showEditor(context, parent=self):
self.Close()
return
# # Pass the eventually changed rule name
# self.refreshRuleList(context["data"]["rule"]["name"])
# Pass the eventually changed rule name
self.refreshRuleList(context["data"]["rule"]["name"])
wx.CallAfter(self.tree.SetFocus)

def onRuleNew(self, evt):
Expand Down

0 comments on commit 1a5fec4

Please sign in to comment.