Fixed an issue with copying icon files.
This commit is contained in:
parent
b79b30f4c4
commit
da1b11627a
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
|
@ -790,8 +790,8 @@ class MainWindow(QtGui.QWidget):
|
|||
for setting in sgroup.values():
|
||||
if setting.type == 'file' and setting.value:
|
||||
try:
|
||||
setting.value = os.path.basename(setting.value)
|
||||
shutil.copy(setting.value, self.projectDir())
|
||||
setting.value = os.path.basename(setting.value)
|
||||
except shutil.Error as e:#same file warning
|
||||
log( 'Warning: {}'.format(e))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue