aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/file_send_overlay.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/file_send_overlay.vala')
-rw-r--r--main/src/ui/file_send_overlay.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/ui/file_send_overlay.vala b/main/src/ui/file_send_overlay.vala
index 0067e09d..907cea00 100644
--- a/main/src/ui/file_send_overlay.vala
+++ b/main/src/ui/file_send_overlay.vala
@@ -18,6 +18,10 @@ public class FileSendOverlay : Adw.Dialog {
private File file;
private bool can_send = true;
+ construct {
+ check_widget_leak(this);
+ }
+
public FileSendOverlay(File file, FileInfo file_info) {
this.file = file;
load_file_widget.begin(file, file_info);