void () { final ProjectFileIndex index = ProjectRootManager.getInstance(myProject).getFileIndex(); if (!isValidPath(myPanel.myLinuxIconPath, index, "Linux")) return; if (!isValidPath(myPanel.myMacIconPath, index, "Mac")) return; if (!isValidPath(myPanel.myWindowsIconPath, index, "Windows")) return; super.doOKAction(); }