fix: Don't show provider as Read Only if it's empty

This commit is contained in:
WerWolv
2023-12-18 11:58:19 +01:00
parent ec4fdc44ef
commit 1b43270ae9

View File

@@ -131,7 +131,7 @@ namespace hex {
if (provider->isDirty())
postfix += " (*)";
if (!provider->isWritable())
if (!provider->isWritable() && provider->getActualSize() != 0)
postfix += " (Read Only)";
}
}