mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-19 03:37:29 +08:00
Update DiscardOrKeepProfileChangesDialog.qml TableModel
CURA-8640
This commit is contained in:
parent
e86f860a2c
commit
fd07de9b11
@ -1,11 +1,10 @@
|
|||||||
//Copyright (c) 2022 Ultimaker B.V.
|
//Copyright (c) 2022 Ultimaker B.V.
|
||||||
//Cura is released under the terms of the LGPLv3 or higher.
|
//Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
//import Qt.labs.qmlmodels 1.0
|
|
||||||
import QtQuick 2.1
|
import QtQuick 2.1
|
||||||
import QtQuick.Controls 2.15
|
import QtQuick.Controls 2.15
|
||||||
|
|
||||||
import UM 1.5 as UM
|
import UM 1.6 as UM
|
||||||
import Cura 1.6 as Cura
|
import Cura 1.6 as Cura
|
||||||
|
|
||||||
UM.Dialog
|
UM.Dialog
|
||||||
@ -77,13 +76,11 @@ UM.Dialog
|
|||||||
Cura.MachineManager.activeQualityDisplayNameMap["main"],
|
Cura.MachineManager.activeQualityDisplayNameMap["main"],
|
||||||
catalog.i18nc("@title:column", "Current changes")
|
catalog.i18nc("@title:column", "Current changes")
|
||||||
]
|
]
|
||||||
// model: TableModel
|
model: UM.TableModel
|
||||||
// {
|
{
|
||||||
// TableModelColumn { display: "label" }
|
headers: ["label", "original_value", "user_value"]
|
||||||
// TableModelColumn { display: "original_value" }
|
rows: userChangesModel.items
|
||||||
// TableModelColumn { display: "user_value" }
|
}
|
||||||
// rows: userChangesModel.items
|
|
||||||
// }
|
|
||||||
sectionRole: "category"
|
sectionRole: "category"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user