mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
...
This commit is contained in:
parent
dade432ea6
commit
4763a8f9af
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user