Code-style improvement

CURA-8112

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
This commit is contained in:
Konstantinos Karmas 2021-07-15 10:02:57 +02:00 committed by GitHub
parent 11d86b98ef
commit 26a17e0603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -436,7 +436,8 @@ UM.MainWindow
Cura.TertiaryButton Cura.TertiaryButton
{ {
text: model.name text: model.name
iconSource: { iconSource:
{
if (model.icon == null || model.icon == "") if (model.icon == null || model.icon == "")
{ {
return UM.Theme.getIcon("LinkExternal") return UM.Theme.getIcon("LinkExternal")