Skip to content

Commit

Permalink
Add missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Jun 5, 2020
1 parent 714febf commit f6bc5e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui_impl/commands/save_gui_command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ void SaveGuiCommand::exportEventsToCSV ()

for (unsigned int i = 0; i < event_manager_pt->getNumberOfEvents(); i++)
{
auto evt = event_manager_pt->getEvent();
auto evt = event_manager_pt->getEvent(i);
if (evt != NULL) {
row tmp = {
evt->getPosition(),
Expand Down Expand Up @@ -350,7 +350,7 @@ void SaveGuiCommand::evaluateEnabledness ()
no_gdf_file_open = !(applicationContext()->getCurrentFileContext()->getFileName().endsWith("gdf"));
file_changed = (getFileState () == FILE_STATE_CHANGED);
has_events = applicationContext()->getCurrentFileContext()->getEventManager()->getNumberOfEvents() > 0;

if (applicationContext()->getCurrentFileContext()->getFileName().endsWith("xdf"))
no_gdf_file_open = false;//Disabled because currently XDF to GDF conversion doesn't work
}
Expand Down

0 comments on commit f6bc5e8

Please sign in to comment.