Commit 3a97d417 authored by David Thompson's avatar David Thompson

Fix icons in resource tree.

parent 23ec61ff
......@@ -543,7 +543,9 @@ QIcon qtDescriptivePhraseModel::lookupIconForPhraseFlags(
resourceName << "model"; // every session has an model
break;
default:
resourceName << "invalid";
// Sometimes group entities have other bits set.
// Otherwise... it's garbage-in, garbage-out
resourceName << (flags & GROUP_ENTITY ? "group" : "invalid");
dimBits = false;
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment