When deleting temp files, remove from the recent file list. Closes #1540

* If the UI was launched with a filename as a parameter to open the capture, it
  will be added to the recent capture file list. Only later (relatively
  speaking) if we make a capture connection will we realise that it is temporary
  and potentially delete the file. If we do so, remove the capture from the
  recent file list.
This commit is contained in:
baldurk committed 2019-10-10 16:48:42 +01:00
1 parent 4a6235d9b7
commit e9dda8343f
9 files changed
+100 -26

No files matched your search

@@ -151,7 +151,11 @@ void PersistantConfig::SetupFormatting()
{
}
void AddRecentFile(rdcarray<rdcstr> &recentList, const rdcstr &file, int maxItems)
void AddRecentFile(rdcarray<rdcstr> &recentList, const rdcstr &file)
{
}
void RemoveRecentFile(rdcarray<rdcstr> &recentList, const rdcstr &file)
{
}