Update Furious/Widget/UserServersQTableView.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 0a07076274
commit 323e8bc391
+2 -2
View File
@@ -1420,7 +1420,7 @@ class UserServersQTableView(
self.customizeJSONConfigActionRef = AppQAction(
_('Customize JSON Configuration...'),
icon=bootstrapIcon('braces.svg'),
icon=bootstrapIcon('braces-asterisk.svg'),
callback=lambda: self.editSelectedItemConfiguration(),
shortcut=QtCore.QKeyCombination(
QtCore.Qt.KeyboardModifier.ControlModifier,
@@ -1862,7 +1862,7 @@ class UserServersQTableView(
@QtCore.Slot(QtCore.QPoint)
def handleCustomContextMenuRequested(self, point):
self.contextMenu.exec(self.mapToGlobal(point))
self.contextMenu.exec(self.viewport().mapToGlobal(point))
def customSortFn(self, clickedIndex, **kwargs):
order = (