File tree 2 files changed +3
-1
lines changed
python/plugins/processing/gui
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ def fillTreeUsingProviders(self):
190
190
"""
191
191
Filter 'Menus' items
192
192
"""
193
- menusItem = QStandardItem (self .tr ('Menus (requires restart) ' ))
193
+ menusItem = QStandardItem (self .tr ('Menus' ))
194
194
icon = QIcon (os .path .join (pluginPath , 'images' , 'menu.png' ))
195
195
menusItem .setIcon (icon )
196
196
menusItem .setEditable (False )
Original file line number Diff line number Diff line change 1
1
import os
2
+ from qgis .PyQt .QtCore import QCoreApplication
2
3
from qgis .PyQt .QtWidgets import QAction , QMenu
3
4
from PyQt4 .QtGui import QIcon
4
5
from processing .core .alglist import algList
@@ -127,6 +128,7 @@ def initializeMenus():
127
128
128
129
def updateMenus ():
129
130
removeMenus ()
131
+ QCoreApplication .processEvents ()
130
132
createMenus ()
131
133
132
134
You can’t perform that action at this time.
0 commit comments