mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 13:05:37 +00:00
Move sensitivity check to a more appropriate place for move completed on add torrent dialog.
This commit is contained in:
parent
e53413902c
commit
0a9fe242e7
@ -169,8 +169,6 @@ class AddTorrentDialog(component.Component):
|
||||
self.glade.get_widget("button_move_completed_location").hide()
|
||||
self.glade.get_widget("entry_move_completed_path").show()
|
||||
|
||||
self._on_chk_move_completed_toggled(self.glade.get_widget("chk_move_completed"))
|
||||
|
||||
self.dialog.set_transient_for(component.get("MainWindow").window)
|
||||
self.dialog.present()
|
||||
if focus:
|
||||
@ -401,6 +399,7 @@ class AddTorrentDialog(component.Component):
|
||||
options["prioritize_first_last_pieces"])
|
||||
self.glade.get_widget("chk_move_completed").set_active(
|
||||
options["move_completed"])
|
||||
self._on_chk_move_completed_toggled(self.glade.get_widget("chk_move_completed"))
|
||||
|
||||
def save_torrent_options(self, row=None):
|
||||
# Keeps the torrent options dictionary up-to-date with what the user has
|
||||
|
Loading…
x
Reference in New Issue
Block a user