eric7/WebBrowser/Bookmarks/BookmarksMenu.py

branch
eric7
changeset 8323
3bb9b7d997db
parent 8318
962bce857696
child 8356
68ec9c3d4de5
equal deleted inserted replaced
8322:b422b4e77d19 8323:3bb9b7d997db
153 153
154 @param pos position the context menu shall be shown (QPoint) 154 @param pos position the context menu shall be shown (QPoint)
155 """ 155 """
156 act = self.actionAt(pos) 156 act = self.actionAt(pos)
157 157
158 # TODO: change this to not use act.menu()
158 if ( 159 if (
159 act is not None and 160 act is not None and
160 act.menu() is None and 161 act.menu() is None and
161 self.index(act).isValid() 162 self.index(act).isValid()
162 ): 163 ):

eric ide

mercurial