Skip to content

Commit

Permalink
Fix logic in server table widget
Browse files Browse the repository at this point in the history
Signed-off-by: Loren Eteval <[email protected]>
  • Loading branch information
LorenEteval committed May 10, 2024
1 parent 99e7fcd commit 3556863
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Furious/Widget/UserServersQTableWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,20 +957,20 @@ def handleGuiEditorAccepted(

modified = editor.inputToFactory(factory)

if modified:
self.flushRow(index, factory)
# Still flush to row since remark may be modified
self.flushRow(index, factory)

if index == AS_UserActivatedItemIndex():
try:
if APP().isSystemTrayConnected():
mbox = NewChangesNextTimeMBox()
if modified and index == AS_UserActivatedItemIndex():
try:
if APP().isSystemTrayConnected():
mbox = NewChangesNextTimeMBox()

# Show the MessageBox asynchronously
mbox.open()
except Exception:
# Any non-exit exceptions
# Show the MessageBox asynchronously
mbox.open()
except Exception:
# Any non-exit exceptions

pass
pass

editor.accepted.disconnect()

Expand Down

0 comments on commit 3556863

Please sign in to comment.