pamhyr: End switch print to logging.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-07-07 10:50:17 +02:00
1 parent a8bd871f94
commit 504ef7ec48
15 files changed
+71 -31

No files matched your search

+5 -2
View File
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
import logging
from tools import trace, timer
from View.ASubWindow import ASubMainWindow
@@ -39,6 +41,7 @@ from View.InitialConditions.DialogDischarge import DischargeDialog
_translate = QCoreApplication.translate
logger = logging.getLogger()
class InitialConditionsWindow(ASubMainWindow, ListedSubWindow):
def __init__(self, title="Initial condition",
@@ -197,11 +200,11 @@ class InitialConditionsWindow(ASubMainWindow, ListedSubWindow):
self._update_plot()
def copy(self):
print("TODO")
logger.info("TODO: copy")
self._update_plot()
def paste(self):
print("TODO")
logger.info("TODO: paste")
self._update_plot()
def undo(self):