Sun, 26 Feb 2012 10:06:58 +0100
Fixed an issue in the project resources viewer causing a resourcefile not being recompiled when a linked resource has changed.
Project/ProjectResourcesBrowser.py | file | annotate | diff | comparison | revisions |
--- a/Project/ProjectResourcesBrowser.py Sat Feb 25 19:27:57 2012 +0100 +++ b/Project/ProjectResourcesBrowser.py Sun Feb 26 10:06:58 2012 +0100 @@ -709,6 +709,7 @@ except IOError: return False + qrcDirName = os.path.dirname(filename) lbuf = "" for line in buf.splitlines(): line = line.strip() @@ -719,7 +720,7 @@ if lbuf.lower().endswith("</file>"): rfile = lbuf.split(">", 1)[1].split("<", 1)[0] if not os.path.isabs(rfile): - rfile = os.path.join(self.project.ppath, rfile) + rfile = os.path.join(qrcDirName, rfile) if os.path.exists(rfile) and \ os.stat(rfile).st_mtime > mtime: return True