[simple-scan/cherry-pick-59ee9558] Delete autosave records after creating new document




commit 0e21098628a99ff45420cd949081276282314552
Author: Bartosz Kosiorek <gang65 poczta onet pl>
Date:   Tue Nov 30 20:15:17 2021 +0100

    Delete autosave records after creating new document
    
    Fixes: #278
    
    
    (cherry picked from commit 59ee95581bd1224e347529b730e62ca4df6882b4)

 src/app-window.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/app-window.vala b/src/app-window.vala
index c1d4ea31..e1630470 100644
--- a/src/app-window.vala
+++ b/src/app-window.vala
@@ -802,6 +802,7 @@ public class AppWindow : Hdy.ApplicationWindow
                 stop_scan ();
 
             clear_document ();
+            autosave_manager.cleanup ();
         });
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]