mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
make torrentfile pref field insensitive when on win32 to avoid confusing windows users
This commit is contained in:
parent
5fb1987b1b
commit
cc77df8216
@ -110,6 +110,8 @@ class TorrentFiles:
|
||||
def configure(self, window):
|
||||
self.glade.get_widget("file_viewer").\
|
||||
set_text(self.config.get("file_viewer"))
|
||||
if deluge.common.windows_check():
|
||||
self.glade.get_widget("file_viewer").set_sensitive(False)
|
||||
self.dialog.set_transient_for(window)
|
||||
self.dialog.show()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user