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:
parent
b3215ddafb
commit
3cd58db242
@ -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
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user