Funktion clear Checkboxes updated
Visuell wurde die Checkbox nicht abgewählt.
This commit is contained in:
parent
2357f8d2be
commit
8b82bb8975
@ -958,7 +958,10 @@ class WebseitenSucheApp(QWidget):
|
||||
return checkbox_callback
|
||||
|
||||
def update_webpage_state(self, webpage, state):
|
||||
self.checkbox_states[webpage] = state
|
||||
self.checkbox_states[webpage] = state
|
||||
for checkbox in self.findChildren(QCheckBox):
|
||||
if checkbox.text() == webpage:
|
||||
checkbox.setChecked(state)
|
||||
|
||||
def clear_checkboxes(self):
|
||||
for webpage in self.checkbox_states:
|
||||
|
Loading…
x
Reference in New Issue
Block a user