From 32136de150d31f76bc5a2d492d1b89e51bb3d151 Mon Sep 17 00:00:00 2001 From: Andy Ford Date: Sun, 28 Nov 2021 20:13:31 +0000 Subject: [PATCH] fix(srd): Cater for longer routes in SRD dialog (#364) * feat(srd): allow srd searches by flight level Previously, you had type in the full altitude. Now it assumes that any altitude <1000 is a flight level, and thus performs the conversion. fix #358 * Fix negation * feat(srd): Indicate whether a route contains free route airspace * fix(srd): Cater for longer routes in SRD dialog * Format * Fix tests --- src/plugin/srd/SrdSearchDialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugin/srd/SrdSearchDialog.cpp b/src/plugin/srd/SrdSearchDialog.cpp index 15de275b7..203a969a7 100644 --- a/src/plugin/srd/SrdSearchDialog.cpp +++ b/src/plugin/srd/SrdSearchDialog.cpp @@ -105,7 +105,6 @@ namespace UKControllerPlugin { noteString += fraNotes; return std::regex_replace(noteString, std::regex("[\r\n]"), "\r\n"); - ; } /* @@ -195,7 +194,7 @@ namespace UKControllerPlugin { LVCOLUMN routeStringColumn = { LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM, LVCFMT_LEFT | LVCFMT_FIXED_WIDTH, - 335, + 600, routeString, 2}; ListView_InsertColumn(resultsList, 3, &routeStringColumn);