Fix of issue 2470
svn: r11215
This commit is contained in:
parent
6854a8565d
commit
f90d19c254
@ -631,7 +631,8 @@ class DbManager(CLIDbManager):
|
|||||||
node = self.model.get_iter(path)
|
node = self.model.get_iter(path)
|
||||||
old_text = self.model.get_value(node, NAME_COL)
|
old_text = self.model.get_value(node, NAME_COL)
|
||||||
if not old_text.strip() == new_text.strip():
|
if not old_text.strip() == new_text.strip():
|
||||||
if len(path) > 1 :
|
#If there is a ":" in path, then it as revision
|
||||||
|
if ":" in path :
|
||||||
self.__rename_revision(path, new_text)
|
self.__rename_revision(path, new_text)
|
||||||
else:
|
else:
|
||||||
self.__rename_database(path, new_text)
|
self.__rename_database(path, new_text)
|
||||||
|
Loading…
Reference in New Issue
Block a user