mirror of
https://github.com/redis/RedisDesktopManager.git
synced 2026-10-17 04:31:27 +08:00
Apply formatter override if value is compressed
This commit is contained in:
@@ -200,7 +200,9 @@ Item
|
||||
var cFormatter = formatterSelector.model.get(expectedFormatter)
|
||||
|
||||
return cFormatter.isValid(root.value, function (isValid) {
|
||||
if (isValid) {
|
||||
var compressionMethod = qmlUtils.isCompressed(root.value);
|
||||
|
||||
if (isValid || compressionMethod > 0) {
|
||||
formatterSelector._select(formatterOverride)
|
||||
continueFormatting(false)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user