618 fn = itm.fileName() |
618 fn = itm.fileName() |
619 except AttributeError: |
619 except AttributeError: |
620 fn = itm.dirName() |
620 fn = itm.dirName() |
621 isFile = os.path.isfile(fn) |
621 isFile = os.path.isfile(fn) |
622 movefiles = self.browser.project.getFiles(fn) |
622 movefiles = self.browser.project.getFiles(fn) |
|
623 self.browser.project.stopFileSystemMonitoring() |
623 if self.vcs.vcsMove(fn, self.project): |
624 if self.vcs.vcsMove(fn, self.project): |
624 if isFile: |
625 if isFile: |
625 self.browser.closeSourceWindow.emit(fn) |
626 self.browser.closeSourceWindow.emit(fn) |
626 else: |
627 else: |
627 for mf in movefiles: |
628 for mf in movefiles: |
628 self.browser.closeSourceWindow.emit(mf) |
629 self.browser.closeSourceWindow.emit(mf) |
|
630 self.browser.project.startFileSystemMonitoring() |
629 |
631 |
630 def __GitExtendedDiff(self): |
632 def __GitExtendedDiff(self): |
631 """ |
633 """ |
632 Private slot called by the context menu to show the difference of a |
634 Private slot called by the context menu to show the difference of a |
633 file to the repository. |
635 file to the repository. |