def addBookmark(self): try: currentPath = getMainWindow().FileManager.getCurrentDirectoryPath() BookmarksOfDirectories.insert(fu.splitPath(currentPath)[-1], currentPath) getMainWindow().FileManager.bookmarksMenu.makeRefresh() self.makeRefresh() except: ReportBug.ReportBug()
def addBookmark(self): try: currentPath = getMainWindow().FileManager.getCurrentDirectoryPath() BookmarksOfDirectories.insert( fu.splitPath(currentPath)[-1], currentPath) getMainWindow().FileManager.bookmarksMenu.makeRefresh() self.makeRefresh() except: ReportBug.ReportBug()