only start editing if input is empty

This commit is contained in:
ouwou
2023-07-15 16:03:33 -04:00
parent f941ad1bef
commit 03e617a146
3 changed files with 7 additions and 1 deletions

View File

@@ -143,6 +143,8 @@ public:
void StartEditing(const Message &message);
void StopEditing();
bool IsEmpty();
private:
bool AddFileAsImageAttachment(const Glib::RefPtr<Gio::File> &file);
bool CanAttachFiles();