eric6/QScintilla/ShellWindow.py

changeset 8150
fc1ae39af8c9
parent 8143
2c730d5fd177
child 8218
7c09585bd960
equal deleted inserted replaced
8149:3fefc0c430f2 8150:fc1ae39af8c9
349 #################################################################### 349 ####################################################################
350 ## Below follow the actions for QScintilla standard commands. 350 ## Below follow the actions for QScintilla standard commands.
351 #################################################################### 351 ####################################################################
352 352
353 self.esm = QSignalMapper(self) 353 self.esm = QSignalMapper(self)
354 self.esm.mapped[int].connect(self.__shell.editorCommand) 354 try:
355 self.esm.mappedInt.connect(self.__shell.editorCommand)
356 except AttributeError:
357 # pre Qt 5.15
358 self.esm.mapped[int].connect(self.__shell.editorCommand)
355 359
356 self.editorActGrp = createActionGroup(self) 360 self.editorActGrp = createActionGroup(self)
357 361
358 act = E5Action( 362 act = E5Action(
359 QCoreApplication.translate('ViewManager', 'Delete current line'), 363 QCoreApplication.translate('ViewManager', 'Delete current line'),

eric ide

mercurial