mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
link update_settings to settings dialog
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from core.network.libtorrent_int import update_settings
|
||||
from core.utils.data.state import state
|
||||
from .config import create_config
|
||||
|
||||
@@ -20,5 +21,6 @@ def save_settings(close=lambda: None, apiurl=None, download_path=None, down_spee
|
||||
if max_downloads is not None:
|
||||
state.max_downloads = max_downloads
|
||||
|
||||
update_settings()
|
||||
create_config()
|
||||
close()
|
||||
|
||||
Reference in New Issue
Block a user