Analyze | Stop Tracing (Ctrl+Shift+S) saves CSV only if a point is being traced
This avoids confusion with "Ctrl+Shift+S" being used as "Save As..." shortcut on some platforms.pull/846/head
parent
5fa23189d9
commit
f5086b62cc
|
@ -904,6 +904,9 @@ void SolveSpaceUI::MenuAnalyze(Command id) {
|
|||
break;
|
||||
|
||||
case Command::STOP_TRACING: {
|
||||
if (SS.traced.point == Entity::NO_ENTITY) {
|
||||
break;
|
||||
}
|
||||
Platform::FileDialogRef dialog = Platform::CreateSaveFileDialog(SS.GW.window);
|
||||
dialog->AddFilters(Platform::CsvFileFilters);
|
||||
dialog->ThawChoices(settings, "Trace");
|
||||
|
|
Loading…
Reference in New Issue