##// END OF EJS Templates
shorten 32dd9b5f logic for one file
Matthias BUSSONNIER -
Show More
@@ -441,12 +441,7 b' class ConsoleWidget(LoggingConfigurable, QtGui.QWidget):'
441 def copy(self):
441 def copy(self):
442 """ Copy the currently selected text to the clipboard.
442 """ Copy the currently selected text to the clipboard.
443 """
443 """
444 if self.layout().currentWidget() == self._page_control :
444 self.layout().currentWidget().copy()
445 self._page_control.copy()
446 elif self.layout().currentWidget() == self._control :
447 self._control.copy()
448 else :
449 self.log.debug("console widget: unknown copy target")
450
445
451 def cut(self):
446 def cut(self):
452 """ Copy the currently selected text to the clipboard and delete it
447 """ Copy the currently selected text to the clipboard and delete it
General Comments 0
You need to be logged in to leave comments. Login now