mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
Remove selection in DatePicker if it is outside the current displayed month.
This commit is contained in:
parent
ba2d41365e
commit
0156f9203a
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ Item{
|
|||
id: cellItem
|
||||
property int day: index - 7 // 0 = top left below Sunday (-7 to 41)
|
||||
property int date: day - firstDay + 1 // 1-31
|
||||
property bool selected : new Date(year, month, date).toDateString() == monthList.selectedDate.toDateString() && text.text && day >= 0
|
||||
property bool selected : text.text != '-' && new Date(year, month, date).toDateString() == monthList.selectedDate.toDateString() && text.text && day >= 0
|
||||
width: grid.cellMinSize
|
||||
height: width
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue