Merge pull request #9834 from f321x/fix_terms_wizard_windows
fix: make ToU scrollbar detection more reliable
This commit is contained in:
@@ -55,7 +55,7 @@ class WCTermsOfUseScreen(WizardComponent):
|
|||||||
self._valid = False
|
self._valid = False
|
||||||
|
|
||||||
# Find the scroll area and connect to its scrollbar
|
# Find the scroll area and connect to its scrollbar
|
||||||
QTimer.singleShot(0, self.check_scroll_position)
|
QTimer.singleShot(100, self.check_scroll_position)
|
||||||
self.window().installEventFilter(self)
|
self.window().installEventFilter(self)
|
||||||
|
|
||||||
def eventFilter(self, obj, event):
|
def eventFilter(self, obj, event):
|
||||||
|
|||||||
Reference in New Issue
Block a user