655 Private slot to change the local directory. |
655 Private slot to change the local directory. |
656 |
656 |
657 @param localDevice flag indicating device access via local file system |
657 @param localDevice flag indicating device access via local file system |
658 @type bool |
658 @type bool |
659 """ |
659 """ |
660 if localDevice: |
660 cwdWidget = self.deviceCwd if localDevice else self.localCwd |
661 cwdWidget = self.deviceCwd |
|
662 else: |
|
663 cwdWidget = self.localCwd |
|
664 |
661 |
665 dirPath, ok = E5PathPickerDialog.getPath( |
662 dirPath, ok = E5PathPickerDialog.getPath( |
666 self, |
663 self, |
667 self.tr("Change Directory"), |
664 self.tr("Change Directory"), |
668 self.tr("Select Directory"), |
665 self.tr("Select Directory"), |
682 Private slot to create a local directory. |
679 Private slot to create a local directory. |
683 |
680 |
684 @param localDevice flag indicating device access via local file system |
681 @param localDevice flag indicating device access via local file system |
685 @type bool |
682 @type bool |
686 """ |
683 """ |
687 if localDevice: |
684 cwdWidget = self.deviceCwd if localDevice else self.localCwd |
688 cwdWidget = self.deviceCwd |
|
689 else: |
|
690 cwdWidget = self.localCwd |
|
691 |
685 |
692 dirPath, ok = QInputDialog.getText( |
686 dirPath, ok = QInputDialog.getText( |
693 self, |
687 self, |
694 self.tr("Create Directory"), |
688 self.tr("Create Directory"), |
695 self.tr("Enter directory name:"), |
689 self.tr("Enter directory name:"), |