439 self.trUtf8("""There are no uncommitted changes available/selected.""")) |
440 self.trUtf8("""There are no uncommitted changes available/selected.""")) |
440 return |
441 return |
441 |
442 |
442 self.vcs.vcsRevert(names) |
443 self.vcs.vcsRevert(names) |
443 self.on_refreshButton_clicked() |
444 self.on_refreshButton_clicked() |
|
445 |
|
446 project = e5App().getObject("Project") |
|
447 for name in names: |
|
448 project.getModel().updateVCSStatus(name) |
444 self.vcs.checkVCSStatus() |
449 self.vcs.checkVCSStatus() |
445 |
450 |
446 def __lock(self): |
451 def __lock(self): |
447 """ |
452 """ |
448 Private slot to handle the Lock context menu entry. |
453 Private slot to handle the Lock context menu entry. |