mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pamhyr: End switch print to logging.
This commit is contained in:
1 parent
a8bd871f94
commit
504ef7ec48
15 files changed
+71
-31
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user