mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Move properties into account details itself
There isn't really a point to setting them from when the object is created... CURA-7418
This commit is contained in:
parent
ed53557044
commit
1f402569ad
2 changed files with 5 additions and 9 deletions
|
|
@ -9,9 +9,10 @@ import Cura 1.1 as Cura
|
|||
|
||||
Column
|
||||
{
|
||||
property var profile: null
|
||||
property var loggedIn: false
|
||||
property var profileImage: ""
|
||||
property var profile: Cura.API.account.userProfile
|
||||
property bool loggedIn: Cura.API.account.isLoggedIn
|
||||
property var profileImage: Cura.API.account.profileImageUrl
|
||||
|
||||
|
||||
padding: UM.Theme.getSize("wide_margin").height
|
||||
spacing: UM.Theme.getSize("wide_margin").height
|
||||
|
|
|
|||
|
|
@ -133,12 +133,7 @@ Item
|
|||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||
|
||||
contentItem: AccountDetails
|
||||
{
|
||||
id: panel
|
||||
profile: Cura.API.account.userProfile
|
||||
loggedIn: Cura.API.account.isLoggedIn
|
||||
profileImage: Cura.API.account.profileImageUrl
|
||||
}
|
||||
{}
|
||||
|
||||
background: UM.PointingRectangle
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue