1989 except Exception: |
1989 except Exception: |
1990 # simply ignore them |
1990 # simply ignore them |
1991 return |
1991 return |
1992 |
1992 |
1993 if location is not None: |
1993 if location is not None: |
1994 e5App().getObject("ViewManager").openSourceFile( |
1994 try: |
1995 location.resource.real_path, location.lineno, next=True) |
1995 e5App().getObject("ViewManager").openSourceFile( |
|
1996 location.resource.real_path, location.lineno, addNext=True) |
|
1997 except TypeError: |
|
1998 # backward compatibility; < 17.03 |
|
1999 e5App().getObject("ViewManager").openSourceFile( |
|
2000 location.resource.real_path, location.lineno, next=True) |
1996 else: |
2001 else: |
1997 e5App().getObject("UserInterface").statusBar().showMessage( |
2002 e5App().getObject("UserInterface").statusBar().showMessage( |
1998 self.tr('No definition found'), 5000) |
2003 self.tr('No definition found'), 5000) |
1999 |
2004 |
2000 def __queryImplementations(self): |
2005 def __queryImplementations(self): |