Commit 92ab48d0 authored by Dan Pascu's avatar Dan Pascu

The file transfer download directory cannot be undefined

parent c83ec3f9
......@@ -287,7 +287,6 @@ class PreferencesWindow(base_class, ui_class):
self.traffic_units_button.clicked.connect(self._SH_TrafficUnitsButtonClicked)
# File transfer
self.download_directory_editor.locationCleared.connect(self._SH_DownloadDirectoryEditorLocationCleared)
self.download_directory_browse_button.clicked.connect(self._SH_DownloadDirectoryBrowseButtonClicked)
self.file_transfer_alert_button.clicked.connect(self._SH_FileTransferAlertButtonClicked)
......@@ -1292,11 +1291,6 @@ class PreferencesWindow(base_class, ui_class):
settings.save()
# File transfer signal handlers
def _SH_DownloadDirectoryEditorLocationCleared(self):
settings = SIPSimpleSettings()
settings.file_transfer.directory = None
settings.save()
def _SH_DownloadDirectoryBrowseButtonClicked(self, checked):
# TODO: open the file selection dialog in non-modal mode. Same for the one for TLS CA list and the IconSelector from contacts. -Dan
settings = SIPSimpleSettings()
......
......@@ -2181,7 +2181,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="LocationBar" name="download_directory_editor">
<widget class="QLineEdit" name="download_directory_editor">
<property name="readOnly">
<bool>true</bool>
</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment