mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 11:21:14 -07:00
Highlight Open button when no files are loaded
This helps with first-run to make it clear where to start. Fixes #37
This commit is contained in:
parent
74cf027421
commit
5f24b70453
2 changed files with 51 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ UM.MainWindow {
|
|||
id: openFileButton;
|
||||
|
||||
iconSource: UM.Theme.icons.open;
|
||||
style: UM.Theme.styles.tool_button;
|
||||
style: UM.Backend.progress < 0 ? UM.Theme.styles.open_file_button : UM.Theme.styles.tool_button;
|
||||
|
||||
anchors {
|
||||
top: parent.top;
|
||||
|
|
@ -433,3 +433,4 @@ UM.MainWindow {
|
|||
|
||||
Component.onCompleted: UM.Theme.load(UM.Resources.getPath(UM.Resources.ThemesLocation, "cura"))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue