Opening custom browser dialog hangs Anki

I’ve been trying to write a function to open a browser dialog that is separate from the main browser (for custom integration), but with every attempt, the separate browser ends up hanging after the main browser is open and the separate browser is re-opened a few times. This is the closest I’ve gotten:

aqt.dialogs.register_dialog("CustomBrowser", Browser)
cbrowser = aqt.dialogs.open("CustomBrowser", mw)
cbrowser.show()

(I’ve isolated the function in a 10-line addon)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.