Skip to content

Commit

Permalink
Merge pull request #16 from neural75/neural/fix_bookmark_open
Browse files Browse the repository at this point in the history
Neural/fix bookmark open
  • Loading branch information
neural75 authored Mar 27, 2022
2 parents a947c3a + 82f36cb commit edb959b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ build
gqrx-scan

.vscode/c_cpp_properties.json
.vscode/c_cpp_properties.json
9 changes: 6 additions & 3 deletions gqrx-scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1389,9 +1389,12 @@ int main(int argc, char **argv) {
strcpy (to, print_freq(opt_max_freq));
printf ("Frequency range set from %s to %s.\n", from, to);

bookmarksfd = Open(g_bookmarksfile);
LoadFrequencies (bookmarksfd);

if (opt_scan_mode == bookmark)
{
bookmarksfd = Open(g_bookmarksfile);
LoadFrequencies (bookmarksfd);
}

if (opt_tag_search)
{
char str [1024];
Expand Down

0 comments on commit edb959b

Please sign in to comment.