Skip to content

Commit

Permalink
fix(srd): Cater for longer routes in SRD dialog (#364)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
AndyTWF committed Nov 28, 2021
1 parent ab0b62a commit 32136de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugin/srd/SrdSearchDialog.cpp
Expand Up @@ -105,7 +105,6 @@ namespace UKControllerPlugin {

noteString += fraNotes;
return std::regex_replace(noteString, std::regex("[\r\n]"), "\r\n");
;
}

/*
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 32136de

Please sign in to comment.