Skip to content

Commit

Permalink
UI: fixed crash when clicking on a user name
Browse files Browse the repository at this point in the history
fixes #38
  • Loading branch information
gustavo-iniguez-goya committed Jun 17, 2020
1 parent 970d04f commit e217ded
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/opensnitch/dialogs/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,8 @@ def _set_active_widgets(self, state, label_txt=""):
self.TABLES[cur_idx]['label'].setText(label_txt)
self.TABLES[cur_idx]['cmd'].setVisible(state)
self.TABLES[cur_idx]['tipLabel'].setVisible(not state)
self.TABLES[cur_idx]['filterLine'].setVisible(not state)
if self.TABLES[cur_idx]['filterLine'] != None:
self.TABLES[cur_idx]['filterLine'].setVisible(not state)

def _set_rules_tab_active(self, row, cur_idx):
data = row.data()
Expand Down

0 comments on commit e217ded

Please sign in to comment.