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 26, 2023
1 parent e7496a8 commit 6528fc4
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 6528fc4

Please sign in to comment.