context menu translations, bug fixes
This commit is contained in:
parent
b40c0a868b
commit
74d7c67d8c
4 changed files with 53 additions and 4 deletions
|
|
@ -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):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue