MainFrame: fix a function call.

This commit is contained in:
Guillaume Jacquemin 2020-06-20 11:12:27 +02:00
parent 694e124d91
commit 3841e82dc9

View file

@ -328,7 +328,7 @@ void EvtMainFrame::fileUpdateEvent(wxFileSystemWatcherEvent& event) {
stagingFileEventHandler(event_type, event_file, event); stagingFileEventHandler(event_type, event_file, event);
} }
else if(event.GetPath().GetPath(wxPATH_GET_VOLUME, wxPATH_WIN) == Utility::Directory::toNativeSeparators(_manager.screenshotDirectory())) { else if(event.GetPath().GetPath(wxPATH_GET_VOLUME, wxPATH_WIN) == Utility::Directory::toNativeSeparators(_manager.screenshotDirectory())) {
screenshotFileEventHandler(event_type, event_file, event); screenshotFileEventHandler(event_type, event_file);
} }
_lastWatcherEventType = event_type; _lastWatcherEventType = event_type;