context menu translations, bug fixes
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
from menu import *
|
||||
from profile import *
|
||||
from list_items import *
|
||||
from widgets import QRightClickButton, RubberBand
|
||||
from widgets import QRightClickButton, RubberBand, create_menu
|
||||
import plugin_support
|
||||
|
||||
|
||||
@ -34,6 +34,11 @@ class MessageArea(QtGui.QPlainTextEdit):
|
||||
self.timer.start(5000)
|
||||
super(MessageArea, self).keyPressEvent(event)
|
||||
|
||||
def contextMenuEvent(self, event):
|
||||
menu = create_menu(self.createStandardContextMenu())
|
||||
menu.exec_(event.globalPos())
|
||||
del menu
|
||||
|
||||
|
||||
class MainWindow(QtGui.QMainWindow):
|
||||
|
||||
|
Reference in New Issue
Block a user