mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 10:22:55 +00:00
Merge branch 'master' into socket
This commit is contained in:
commit
e85b3ebd61
1 changed files with 4 additions and 1 deletions
|
@ -172,7 +172,10 @@ void QDateTimeEditPrivate::updateWidgets(const QDateTime &datetime)
|
||||||
|
|
||||||
if (m_showdate) {
|
if (m_showdate) {
|
||||||
const QDate curdate = datetime.date();
|
const QDate curdate = datetime.date();
|
||||||
calendarwidget->setSelectedDate(curdate);
|
// check in case the calendar is on different page
|
||||||
|
if (calendarwidget->selectedDate() != curdate) {
|
||||||
|
calendarwidget->setSelectedDate(curdate);
|
||||||
|
}
|
||||||
updateButton(curdate);
|
updateButton(curdate);
|
||||||
}
|
}
|
||||||
if (m_showtime) {
|
if (m_showtime) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue