Edit book: Fix editor not marking the book as modified when doing a Replace All that does not affect any currently open files.

This commit is contained in:
Kovid Goyal 2014-02-26 13:54:21 +05:30
parent a9c9c4ad93
commit 59efd0a9c7

View File

@ -791,6 +791,8 @@ class Boss(QObject):
count = do_all() count = do_all()
if count == 0: if count == 0:
self.rewind_savepoint() self.rewind_savepoint()
else:
self.set_modified()
return return
if action == 'count': if action == 'count':
if marked: if marked: