diff --git a/src/View/RunSolver/Window.py b/src/View/RunSolver/Window.py index 87f859e1..dc1141d6 100644 --- a/src/View/RunSolver/Window.py +++ b/src/View/RunSolver/Window.py @@ -217,6 +217,9 @@ class SolverLogWindow(PamhyrWindow): self._alarm.stop() super(SolverLogWindow, self).closeEvent(event) + def _copy(self): + self.find(QTextEdit, "textEdit").copy() + ####### # LOG # ####### diff --git a/src/View/Tools/PamhyrWindow.py b/src/View/Tools/PamhyrWindow.py index 7e8a01df..a868332d 100644 --- a/src/View/Tools/PamhyrWindow.py +++ b/src/View/Tools/PamhyrWindow.py @@ -78,14 +78,10 @@ class PamhyrWindowTools(object): self._paste_sc.activated.connect(self._paste) def _copy(self): - if self._copy_stack is not None: - self._copy_stack.copy() - self._update() + return def _paste(self): - if self._copy_stack is not None: - self._copy_stack.redo() - self._update() + return # Display