Fix drop on attachment button under KDE
The copy action needs to also be set to avoid having to use "Shift" on the drop. issue5871 review33391002
This commit is contained in:
1 parent
0951bd03e9
commit
a08f1630da
1 file changed
+1
-1
@@ -554,7 +554,7 @@ class Form(SignalEvent, TabContent):
|
||||
attach_btn = self.buttons['attach']
|
||||
attach_btn.drag_dest_set(gtk.DEST_DEFAULT_ALL, [
|
||||
('text/uri-list', 0, 0),
|
||||
], gtk.gdk.ACTION_MOVE)
|
||||
], gtk.gdk.ACTION_MOVE | gtk.gdk.ACTION_COPY)
|
||||
attach_btn.connect('drag_data_received',
|
||||
self.attach_drag_data_received)
|
||||
|
||||
|
||||
Reference in new issue
Block a user