Avoid altering the configured output path during run in case of empty paths

This commit is contained in:
Marek Roszko
2025-01-14 20:44:51 -05:00
parent 1d8ed071b8
commit 5c3004b96e
38 changed files with 121 additions and 87 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ int CLI::SCH_EXPORT_PLOT_COMMAND::doPerform( KIWAY& aKiway )
plotJob->m_theme = From_UTF8( m_argParser.get<std::string>( ARG_THEME ).c_str() );
}
plotJob->SetOutputPath( m_argOutput );
plotJob->SetConfiguredOutputPath( m_argOutput );
plotJob->m_plotAll = plotJob->m_plotPages.size() == 0;