mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-26 17:36:08 +00:00
Changed context menu from ViewSource to Back and Forward
This commit is contained in:
parent
0aa00944fd
commit
a25298580e
|
@ -67,8 +67,6 @@ class MainWindow(QMainWindow):
|
|||
def __init__(self, profile, parent):
|
||||
super().__init__(profile, parent)
|
||||
actions = [
|
||||
QWebEnginePage.Back,
|
||||
QWebEnginePage.Forward,
|
||||
QWebEnginePage.Stop,
|
||||
QWebEnginePage.Reload,
|
||||
QWebEnginePage.ReloadAndBypassCache,
|
||||
|
@ -82,7 +80,8 @@ class MainWindow(QMainWindow):
|
|||
QWebEnginePage.DownloadMediaToDisk,
|
||||
QWebEnginePage.InspectElement,
|
||||
QWebEnginePage.RequestClose,
|
||||
QWebEnginePage.SavePage
|
||||
QWebEnginePage.SavePage,
|
||||
QWebEnginePage.ViewSource
|
||||
]
|
||||
for a in actions:
|
||||
self.action(a).setVisible(False)
|
||||
|
|
Loading…
Reference in a new issue