forked from 1b-agent/opencadstudio-upstream
fix(plot): EXPORTPDF proposes PDF after EXPORTSVG; SVG strings in every locale
EXPORTSVG left the plot dialog's SVG device on, so a later EXPORTPDF still offered a .svg file. The SVG save dialog and plot button texts had no catalog entries. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
fb474eb77c
commit
64e9b612cb
24 files changed
+74
-1
No files matched your search
@@ -967,7 +967,11 @@ impl OpenCADStudio {
|
||||
self.command_line.push_output(&line);
|
||||
}
|
||||
}
|
||||
"EXPORT" | "EXPORTPDF" => {
|
||||
"EXPORT" => {
|
||||
return Some(Task::done(Message::PlotExport));
|
||||
}
|
||||
"EXPORTPDF" => {
|
||||
self.plot_dialog.file_svg = false;
|
||||
return Some(Task::done(Message::PlotExport));
|
||||
}
|
||||
// EXPORTSVG — the same direct export, but the save dialog
|
||||
|
||||
Reference in new issue
Block a user