Skip to content

Commit 5017cc2

Browse files
author
Attila Szöllősi
committed
Fix: symlink in working directory
1 parent 23cce56 commit 5017cc2

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

addon.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,13 +190,11 @@ def working_dir_radiobutton_handler(self):
190190
self.destination_edit.setEnabled(False)
191191
self.destination_browse_button.setEnabled(False)
192192
self.destination_clear_button.setEnabled(False)
193-
self.symlink_radiobutton.setEnabled(False)
194193
else:
195194
self.destination_label.setEnabled(True)
196195
self.destination_edit.setEnabled(True)
197196
self.destination_browse_button.setEnabled(True)
198197
self.destination_clear_button.setEnabled(True)
199-
self.symlink_radiobutton.setEnabled(True)
200198

201199
def start(self):
202200
# load settings
@@ -228,13 +226,13 @@ def start(self):
228226
stay_in_working_dir = self.working_dir_radiobutton.isSelected()
229227
if stay_in_working_dir:
230228
destination = None
231-
use_symlink = False
232229
else:
233230
destination = self.destination_edit.getText()
234231
if not destination:
235232
self.dialog.alert("You must specify a destination path.")
236233
return
237-
use_symlink = self.symlink_radiobutton.isSelected()
234+
235+
use_symlink = self.symlink_radiobutton.isSelected()
238236

239237
regex = self.regex_edit.getText()
240238

0 commit comments

Comments
 (0)