Skip to content

Commit

Permalink
ui, process monitor dialog: fixed exception
Browse files Browse the repository at this point in the history
Fixed exception when stopping the monitor fails and an error is
returned.
  • Loading branch information
gustavo-iniguez-goya committed Jun 18, 2021
1 parent 38e3bd4 commit 5e56e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/opensnitch/dialogs/processdetails.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _cb_notification_callback(self, reply):

elif noti.type == ui_pb2.STOP_MONITOR_PROCESS:
if reply.data != "":
self.show_message(QtCore.QCoreApplication.translate("proc_details", "<b>Error stopping monitoring process:</b><br><br>") + reply.data)
self._show_message(QtCore.QCoreApplication.translate("proc_details", "<b>Error stopping monitoring process:</b><br><br>") + reply.data)
self._set_button_running(False)

self._delete_notification(reply.id)
Expand Down

0 comments on commit 5e56e90

Please sign in to comment.