29 @param source name of the source file/directory (string) |
29 @param source name of the source file/directory (string) |
30 @param parent parent widget (QWidget) |
30 @param parent parent widget (QWidget) |
31 @param move flag indicating a move operation (boolean) |
31 @param move flag indicating a move operation (boolean) |
32 @param force flag indicating a forced operation (boolean) |
32 @param force flag indicating a forced operation (boolean) |
33 """ |
33 """ |
34 super(SvnCopyDialog, self).__init__(parent) |
34 super().__init__(parent) |
35 self.setupUi(self) |
35 self.setupUi(self) |
36 |
36 |
37 self.source = source |
37 self.source = source |
38 if os.path.isdir(self.source): |
38 if os.path.isdir(self.source): |
39 self.targetPicker.setMode(E5PathPickerModes.DirectoryMode) |
39 self.targetPicker.setMode(E5PathPickerModes.DirectoryMode) |