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
{
text: model.name
iconSource: {
iconSource:
{
if (model.icon == null || model.icon == "")
{
return UM.Theme.getIcon("LinkExternal")