Start download client when a magnet link is added

This commit is contained in:
Vxrtrauter
2025-09-03 21:09:41 +02:00
parent 8716000057
commit 70c7042b09
+1 -1
View File
@@ -99,6 +99,7 @@ class MainWindow(QtWidgets.QMainWindow, QWidget):
post_url = selected
print(selected)
selected_magnet = get_magnet_link(selected)
start_client()
add_magnet(selected_magnet)
def run_gui():
@@ -111,5 +112,4 @@ def run_gui():
if __name__ == "__main__":
start_client()
run_gui()