Compare commits

..

No commits in common. "main" and "1.4.2" have entirely different histories.
main ... 1.4.2

2 changed files with 2 additions and 6 deletions

View file

@ -1,7 +1,4 @@
# Changelog
## 1.5.x
### 1.5.0: Feature - Time of dateEdit now today
- Changes that instead of the dateEdit elements being always set to a last day of 2024 it is the current day.
## 1.4.x
### 1.4.2: Fix links

View file

@ -25,8 +25,7 @@ from PySide6.QtCore import (
Signal,
QObject,
QRegularExpression,
Qt,
QDate
Qt
)
from PySide6.QtWidgets import (
@ -97,7 +96,7 @@ class OptimaLab35(QMainWindow, Ui_MainWindow):
validator = QRegularExpressionValidator(regex)
self.ui.lat_lineEdit.setValidator(validator)
self.ui.long_lineEdit.setValidator(validator)
self.ui.dateEdit.setDate(QDate.currentDate())
# UI related function, changing parts, open, etc.
def open_preview_window(self):
self.preview_window = PreviewWindow()