Release 2.1.3

bzr-revno: 2513
This commit is contained in:
Raoul Snyman 2015-02-21 22:05:25 +02:00
parent 85b8cb2c50
commit 4847efdfd6
3 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
2.1.2 2.1.3

View File

@ -1317,6 +1317,8 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow, RegistryProperties):
filename = filename[0].upper() + filename[1:] filename = filename[0].upper() + filename[1:]
if filename in self.recent_files: if filename in self.recent_files:
self.recent_files.remove(filename) self.recent_files.remove(filename)
if not isinstance(self.recent_files, list):
self.recent_files = [self.recent_files]
self.recent_files.insert(0, filename) self.recent_files.insert(0, filename)
while len(self.recent_files) > max_recent_files: while len(self.recent_files) > max_recent_files:
self.recent_files.pop() self.recent_files.pop()

View File

@ -45,7 +45,8 @@ TAGS = [
['2.0', '2118'], ['2.0', '2118'],
['2.1.0', '2119'], ['2.1.0', '2119'],
['2.1.1', '2438'], ['2.1.1', '2438'],
['2.1.2', '2488'] ['2.1.2', '2488'],
['2.1.3', '2513']
] ]
# Depending on the repository, we sometimes have the 2.0.x tags in the repo too. They come up with a revision number of # Depending on the repository, we sometimes have the 2.0.x tags in the repo too. They come up with a revision number of
# "?", which I suspect is due to the fact that we're using shared repositories. This regular expression matches all # "?", which I suspect is due to the fact that we're using shared repositories. This regular expression matches all