Skip to content

Commit 9c43429

Browse files
committed
Do not fallback to hex for plain values
1 parent 065f70e commit 9c43429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/qml/editors/formatters/formatters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ var enabledFormatters = [plain, json, msgpack, hex, hexTable, phpserialized]
174174

175175
function guessFormatter(isBinary, val)
176176
{
177-
var tryFormatters = isBinary? [2, 3, 4] : [1, 5, 2, 4]
177+
var tryFormatters = isBinary? [2, 3, 4] : [1, 5, 2, 0]
178178

179179
for (var index in tryFormatters) {
180180
if (enabledFormatters[tryFormatters[index]].isValid(val)){

0 commit comments

Comments
 (0)