X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fglobalsettings.cpp;h=f7df48021f481eafd062bb0f5ad653fb6aaa83c8;hb=81dc02212c05c99554194a15f9b584e6b500cda9;hp=4b7936565625157ac4cfb420efe85c856bba46e8;hpb=c6b4e925a8c5d855a70ab2815e8bc1c371d5801a;p=pulseview.git diff --git a/pv/globalsettings.cpp b/pv/globalsettings.cpp index 4b793656..f7df4802 100644 --- a/pv/globalsettings.cpp +++ b/pv/globalsettings.cpp @@ -130,8 +130,10 @@ void GlobalSettings::set_defaults_where_needed() if (!contains(Key_View_SnapDistance)) setValue(Key_View_SnapDistance, 15); - if (!contains(Key_Dec_ExportFormat)) - setValue(Key_Dec_ExportFormat, "%s %d: %c: %1"); + // %c was used for the row name in the past so we need to transition such users + if (!contains(Key_Dec_ExportFormat) || + value(Key_Dec_ExportFormat).toString() == "%s %d: %c: %1") + setValue(Key_Dec_ExportFormat, "%s %d: %r: %1"); // Default to 500 lines of backlog if (!contains(Key_Log_BufferSize))