Fix #1207 Fix export button
Merge pull request #408 from nlegoff/fix_1207

[3.8] Fix #1207 Fix export button