eric6/QScintilla/MiniEditor.py

changeset 8150
fc1ae39af8c9
parent 8143
2c730d5fd177
child 8158
16a34a0167ba
equal deleted inserted replaced
8149:3fefc0c430f2 8150:fc1ae39af8c9
763 #################################################################### 763 ####################################################################
764 ## Below follow the actions for QScintilla standard commands. 764 ## Below follow the actions for QScintilla standard commands.
765 #################################################################### 765 ####################################################################
766 766
767 self.esm = QSignalMapper(self) 767 self.esm = QSignalMapper(self)
768 self.esm.mapped[int].connect(self.__textEdit.editorCommand) 768 try:
769 self.esm.mappedInt.connect(self.__textEdit.editorCommand)
770 except AttributeError:
771 # pre Qt 5.15
772 self.esm.mapped[int].connect(self.__textEdit.editorCommand)
769 773
770 self.editorActGrp = createActionGroup(self) 774 self.editorActGrp = createActionGroup(self)
771 775
772 act = E5Action( 776 act = E5Action(
773 QCoreApplication.translate('ViewManager', 777 QCoreApplication.translate('ViewManager',

eric ide

mercurial