remove redundant code in sourcedialog plugin
Changelog entry.
Merge branch 't/11290'