[geary] Only save a draft if we should save it, not if we can save it.



commit e0020ff6a751e860d3a810c0bbd98a973c826066
Author: Michael James Gratton <mike vee net>
Date:   Sat Apr 14 13:57:29 2018 +1000

    Only save a draft if we should save it, not if we can save it.

 src/client/composer/composer-widget.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/client/composer/composer-widget.vala b/src/client/composer/composer-widget.vala
index 894eb0f..fa427c3 100644
--- a/src/client/composer/composer-widget.vala
+++ b/src/client/composer/composer-widget.vala
@@ -1399,7 +1399,7 @@ public class ComposerWidget : Gtk.EventBox {
     }
 
     private inline void draft_changed() {
-        if (this.can_save) {
+        if (this.should_save) {
             this.draft_timer.start();
         }
         this.draft_status_text = "";


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