(self, combo, idx)
| 1850 | self.setQuery(model, qstr) |
| 1851 | |
| 1852 | def _cb_combo_netstat_changed(self, combo, idx): |
| 1853 | refreshIndex = self.comboNetstatInterval.currentIndex() |
| 1854 | self._unmonitor_node_netstat(self.LAST_NETSTAT_NODE) |
| 1855 | if refreshIndex > 0: |
| 1856 | self._monitor_node_netstat() |
| 1857 | |
| 1858 | if combo == 2: |
| 1859 | self._cfg.setSettings(Config.STATS_NETSTAT_FILTER_PROTO, self.comboNetstatProto.currentIndex()) |
| 1860 | elif combo == 3: |
| 1861 | self._cfg.setSettings(Config.STATS_NETSTAT_FILTER_FAMILY, self.comboNetstatFamily.currentIndex()) |
| 1862 | elif combo == 4: |
| 1863 | self._cfg.setSettings(Config.STATS_NETSTAT_FILTER_STATE, self.comboNetstatStates.currentIndex()) |
| 1864 | |
| 1865 | nIdx = self.comboNetstatNodes.currentIndex() |
| 1866 | |
| 1867 | def _cb_limit_combo_changed(self, idx): |
| 1868 | if self.tabWidget.currentIndex() == self.TAB_MAIN: |
no test coverage detected