mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-22 14:50:31 +03:00
indicate correctly the minimized windows state
--this commit is very important as we from now on we can now the different states from windows inside a group
This commit is contained in:
parent
be2dcb1eb6
commit
42d7ae4b5e
@ -47,15 +47,20 @@ Item{
|
||||
//FIXME: For some reason the index is not updated correctly in some cases (e.g. window dragging, repositioning launchers)
|
||||
// and this way much beautiful information are lost, an activity change back and return,
|
||||
// it fixes this sometimes...
|
||||
DelegateModel {
|
||||
id: windowsLocalModel
|
||||
model: tasksModel //icList.model
|
||||
rootIndex: tasksModel.makeModelIndex(currentIndex >=0 ? currentIndex : index)
|
||||
Repeater{
|
||||
model:DelegateModel {
|
||||
id: windowsLocalModel
|
||||
model: tasksModel //icList.model
|
||||
rootIndex: tasksModel.makeModelIndex(currentIndex >=0 ? currentIndex : index)
|
||||
|
||||
property int currentIndex: -1
|
||||
property int currentIndex: -1
|
||||
|
||||
delegate: Item{
|
||||
property string title: model.display
|
||||
delegate: Item{
|
||||
readonly property string title: display
|
||||
readonly property bool isMinimized: IsMinimized === true ? true : false
|
||||
|
||||
onIsMinimizedChanged: windowsContainer.initializeStates();
|
||||
}
|
||||
}
|
||||
|
||||
onCountChanged:{
|
||||
|
Loading…
x
Reference in New Issue
Block a user