mirror of https://gitlab.com/pamhyr/pamhyr2
RunSolver: Fix copy methode.
parent
ae21315593
commit
de1f5c1944
|
|
@ -217,6 +217,9 @@ class SolverLogWindow(PamhyrWindow):
|
||||||
self._alarm.stop()
|
self._alarm.stop()
|
||||||
super(SolverLogWindow, self).closeEvent(event)
|
super(SolverLogWindow, self).closeEvent(event)
|
||||||
|
|
||||||
|
def _copy(self):
|
||||||
|
self.find(QTextEdit, "textEdit").copy()
|
||||||
|
|
||||||
#######
|
#######
|
||||||
# LOG #
|
# LOG #
|
||||||
#######
|
#######
|
||||||
|
|
|
||||||
|
|
@ -78,14 +78,10 @@ class PamhyrWindowTools(object):
|
||||||
self._paste_sc.activated.connect(self._paste)
|
self._paste_sc.activated.connect(self._paste)
|
||||||
|
|
||||||
def _copy(self):
|
def _copy(self):
|
||||||
if self._copy_stack is not None:
|
return
|
||||||
self._copy_stack.copy()
|
|
||||||
self._update()
|
|
||||||
|
|
||||||
def _paste(self):
|
def _paste(self):
|
||||||
if self._copy_stack is not None:
|
return
|
||||||
self._copy_stack.redo()
|
|
||||||
self._update()
|
|
||||||
|
|
||||||
# Display
|
# Display
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue