Commit de1f5c19 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

RunSolver: Fix copy methode.

No related merge requests found
Pipeline #54765 passed with stages
in 3 minutes and 24 seconds
Showing with 5 additions and 6 deletions
+5 -6
......@@ -217,6 +217,9 @@ class SolverLogWindow(PamhyrWindow):
self._alarm.stop()
super(SolverLogWindow, self).closeEvent(event)
def _copy(self):
self.find(QTextEdit, "textEdit").copy()
#######
# LOG #
#######
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment