Fix TypeError introduced in 49e0827
Merge pull request #9674 from le717/issue-9666

Fix TypeError in QuickOpen