Reduce size of preview. Fix jumping to the appropriate day in calendar when clicking on a search result
This commit is contained in:
parent
39c0cb61da
commit
baf9b41f44
2 changed files with 4 additions and 2 deletions
|
|
@ -206,6 +206,8 @@ class MainWindow(QMainWindow):
|
|||
self._dirty = False
|
||||
# track which date the editor currently represents
|
||||
self._active_date_iso = date_iso
|
||||
qd = QDate.fromString(date_iso, "yyyy-MM-dd")
|
||||
self.calendar.setSelectedDate(qd)
|
||||
|
||||
def _on_text_changed(self):
|
||||
self._dirty = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue