mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 10:15:54 +08:00
Revert "Add dummy details for when there is no selection"
This reverts commit 2e3528d9b25b7b3a76cdbb145de955b5d1826bd2.
This commit is contained in:
parent
715eda4f59
commit
7d30cee205
@ -9,17 +9,8 @@ import UM 1.1 as UM
|
|||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
id: page
|
id: page
|
||||||
property var details: base.selection || dummy_details
|
property var details: base.selection || {}
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
property var dummy_details: new Object({
|
|
||||||
name: "",
|
|
||||||
description: "",
|
|
||||||
email: "",
|
|
||||||
website: "",
|
|
||||||
icon_url: ""
|
|
||||||
})
|
|
||||||
|
|
||||||
ToolboxBackColumn
|
ToolboxBackColumn
|
||||||
{
|
{
|
||||||
id: sidebar
|
id: sidebar
|
||||||
|
@ -9,21 +9,9 @@ import UM 1.1 as UM
|
|||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
id: page
|
id: page
|
||||||
property var details: base.selection || dummy_details
|
property var details: base.selection
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
||||||
property var dummy_details: new Object({
|
|
||||||
name: '',
|
|
||||||
version: '',
|
|
||||||
last_updated: '',
|
|
||||||
author_email: '',
|
|
||||||
author_name: '',
|
|
||||||
website: '',
|
|
||||||
icon_url: '',
|
|
||||||
download_count: ''
|
|
||||||
})
|
|
||||||
|
|
||||||
ToolboxBackColumn
|
ToolboxBackColumn
|
||||||
{
|
{
|
||||||
id: sidebar
|
id: sidebar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user