mirror of
https://github.com/NaN-tic/tryton-gtk2.git
synced 2023-12-14 03:12:58 +01:00
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:
parent
561d1bda2c
commit
8ad157571a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue