diff options
author | Emmanuel Blot <emmanuel.blot@free.fr> | 2019-08-13 10:23:45 +0200 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2021-01-14 02:58:29 -0800 |
commit | 518dc7eda3a2575292dc67374cad62c887f83d12 (patch) | |
tree | 8e629e16c0be488d24cf5b020ae2707199d37914 /grc/gui | |
parent | 14cb9a352ed4a15fed76f2494629ea2218c8d378 (diff) |
Fix drag n' drop issue with Quartz (macOS) backend
Diffstat (limited to 'grc/gui')
-rw-r--r-- | grc/gui/Constants.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grc/gui/Constants.py b/grc/gui/Constants.py index 1345807ba1..2effc8c98c 100644 --- a/grc/gui/Constants.py +++ b/grc/gui/Constants.py @@ -38,7 +38,8 @@ PARAM_FONT = "Sans 7.5" STATE_CACHE_SIZE = 42 # Shared targets for drag and drop of blocks -DND_TARGETS = [('STRING', Gtk.TargetFlags.SAME_APP, 0)] +DND_TARGETS = [Gtk.TargetEntry.new('STRING', Gtk.TargetFlags.SAME_APP, 0), + Gtk.TargetEntry.new('UTF8_STRING', Gtk.TargetFlags.SAME_APP, 1)] # label constraint dimensions LABEL_SEPARATION = 3 |