1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-24 20:27:22 +01:00

fixes #2538 always use normal 64x64 icon for the editor dialog even if object is locked

This commit is contained in:
Vadim Kurland 2011-07-07 18:25:18 -07:00
parent b3215ddafb
commit 3cd58db242

View File

@ -503,7 +503,8 @@ void doSetObjectIcon(FWObject *obj, QPixmap *pm, int icon_size)
default: icn_sfx = "icon"; break;
}
if (obj->getRO())
// note that we do not have "locked" version of large icons
if (obj->getRO() && icon_size != 2)
icn_alias = ":/Icons/lock";
else
{