550 self.trUtf8("""There are no uncommitted changes available/selected.""")) |
551 self.trUtf8("""There are no uncommitted changes available/selected.""")) |
551 return |
552 return |
552 |
553 |
553 self.vcs.vcsRevert(names) |
554 self.vcs.vcsRevert(names) |
554 self.on_refreshButton_clicked() |
555 self.on_refreshButton_clicked() |
|
556 |
|
557 project = e5App().getObject("Project") |
|
558 for name in names: |
|
559 project.getModel().updateVCSStatus(name) |
555 self.vcs.checkVCSStatus() |
560 self.vcs.checkVCSStatus() |
556 |
561 |
557 def __lock(self): |
562 def __lock(self): |
558 """ |
563 """ |
559 Private slot to handle the Lock context menu entry. |
564 Private slot to handle the Lock context menu entry. |