diff --git a/ui/opensnitch/dialogs/stats.py b/ui/opensnitch/dialogs/stats.py index c26b57e2..eba1a5ad 100644 --- a/ui/opensnitch/dialogs/stats.py +++ b/ui/opensnitch/dialogs/stats.py @@ -1907,6 +1907,8 @@ class StatsDialog(QtWidgets.QDialog, uic.loadUiType(DIALOG_UI_PATH)[0]): self.IN_DETAIL_VIEW[cur_idx] = True rowdata = row.model().index(row.row(), self.COL_DSTHOST).data() host = rowdata + if host == "": + return self.LAST_SELECTED_ITEM = host self.tabWidget.setCurrentIndex(cur_idx) self._set_active_widgets(True, host)