Commits

Ali Gholami Rudi  committed 904a02f

interface: fixed opening out of project resources in readonly mode

  • Participants
  • Parent commits 95d1b07
  • Branches default

Comments (0)

Files changed (1)

File ropecommon/interface.py

     def _goto_location(self, resource, lineno):
         if resource:
             self.env.find_file(str(resource.real_path),
-                               resource.project == self.project)
+                               resource.project != self.project)
         if lineno:
             self.env.goto_line(lineno)