This commit is contained in:
Kovid Goyal 2014-01-30 21:22:04 +05:30
parent dade432ea6
commit 4763a8f9af

View File

@ -429,6 +429,7 @@ class Boss(QObject):
d.container_diff(other, c) d.container_diff(other, c)
def revert_requested(self, container): def revert_requested(self, container):
self.commit_all_editors_to_container()
nc = self.global_undo.revert_to(container) nc = self.global_undo.revert_to(container)
set_current_container(nc) set_current_container(nc)
self.apply_container_update_to_gui() self.apply_container_update_to_gui()