Skip to content

Commit

Permalink
Update book_info_view.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tonquer committed May 26, 2024
1 parent 1fc3e94 commit 6b2c1b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/view/info/book_info_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,9 @@ def ShowMenu(self):
action = toolMenu.addAction(v.title)
if QtOwner().nasView.IsInUpload(k, self.bookId):
action.setEnabled(False)
action.triggered.connect(partial(self.NasUploadHandler, title, k, self.bookId))
action.triggered.connect(partial(self.NasUploadHandler, k, self.bookId))
toolMenu.exec(QCursor().pos())

def NasUploadHandler(self, title, nasId, bookId):
QtOwner().nasView.AddNasUpload(title, nasId, bookId)
def NasUploadHandler(self, nasId, bookId):
QtOwner().nasView.AddNasUpload(nasId, bookId)
return

0 comments on commit 6b2c1b7

Please sign in to comment.