Null check for editor part if no file is currently open
Authored by: viraajn 2014-02-25
Parent: [r1769]
Child: [r1771]