fix bug 当copiedItems为空时则crash
Merge pull request #97 from dqaria/master

fix bug