Update Furious/Widget/XrayAssetViewerQListWidget.py

Signed-off-by: LorenEteval <loren.eteval@proton.me>
This commit is contained in:
LorenEteval
2026-06-21 15:56:19 +08:00
committed by Loren Eteval
parent 4269c48dbc
commit 8a31b0edb1
+1 -1
View File
@@ -89,7 +89,7 @@ class XrayAssetViewerQListWidget(Mixins.ThemeAware, AppQListWidget):
@QtCore.Slot(QtCore.QPoint)
def handleCustomContextMenuRequested(self, point):
self.contextMenu.exec(self.mapToGlobal(point))
self.contextMenu.exec(self.viewport().mapToGlobal(point))
def flushItemByTheme(self, theme: str):
self.clear()