Skip to content

Commit

Permalink
Fix Removing All File Bookmarks
Browse files Browse the repository at this point in the history
Without this change, if you started Tangerine with some saved bookmarks
and removed them all, the update would not be saved.
  • Loading branch information
LiberalArtist committed Feb 22, 2023
1 parent 69fc8b4 commit 90bb424
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tangerine/tangerine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1789,6 +1789,10 @@ void SaveBookmarks()
}
BookmarksFile.close();
}
else if (std::filesystem::exists(BookmarksPath))
{
std::filesystem::remove(BookmarksPath);
}
}


Expand Down

0 comments on commit 90bb424

Please sign in to comment.