summaryrefslogtreecommitdiff
path: root/src/sidebar/Tree.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-21 19:17:10 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-01-21 19:17:10 +0100
commita7ff7c49085c320c1e0a2ffb66cc6d283c5acb8e (patch)
treed9f86def771c7845f241ec81219b243c70523c60 /src/sidebar/Tree.vala
parent66f6a7bd3f7e00022191f16cb0e82a39e7333a76 (diff)
New upstream version 0.25.3upstream/0.25.3
Diffstat (limited to 'src/sidebar/Tree.vala')
-rw-r--r--src/sidebar/Tree.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sidebar/Tree.vala b/src/sidebar/Tree.vala
index 5ba28fa..9c80f00 100644
--- a/src/sidebar/Tree.vala
+++ b/src/sidebar/Tree.vala
@@ -845,7 +845,9 @@ public class Sidebar.Tree : Gtk.TreeView {
if (context_menu == null)
return false;
- context_menu.attach_to_widget (this, null);
+ if (context_menu.get_attach_widget() == null) {
+ context_menu.attach_to_widget (this, null);
+ }
if (event != null)
context_menu.popup(null, null, null, event.button, event.time);