diff --git a/Tribler/Main/vwxGUI/home.py b/Tribler/Main/vwxGUI/home.py index c030abff9ae..50801be4eab 100644 --- a/Tribler/Main/vwxGUI/home.py +++ b/Tribler/Main/vwxGUI/home.py @@ -860,7 +860,6 @@ def __init__(self, parent): self.selected_edges = [] - self.vertex_max = 100 self.vertex_active = -1 self.vertex_hover = -1 self.vertex_hover_evt = None @@ -1075,8 +1074,6 @@ def CountNeighbors(self): def RemoveVertex(self, toremove_id): with self.lock: - - # Remove the vertex with the fewest neighbors. if toremove_id in self.vertices: self.vertices.pop(toremove_id) if toremove_id in self.vertex_to_colour: @@ -1151,10 +1148,6 @@ def OnPaint(self, event): self.new_data = False self.layout_busy = True - elif len(self.vertices) > self.vertex_max: - task = lambda: self.RemoveVertex() - self.taskqueue.add_task(task) - if len(self.vertices) > 0: int_points = {}