get rid of some deprecation warnings

getPaths --> openPanel

Signed-off-by:  <st9fan@gmail.com>