Fixed issue-1473 (Ignore 'Summarize missing layers' when sending XOR result to other layout)

This commit is contained in:
Matthias Koefferlein 2023-09-08 00:40:40 +02:00
parent c6d7b3e7fc
commit 8312a468ca
2 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@
<item row="4" column="1" colspan="2">
<widget class="QCheckBox" name="summarize_cb">
<property name="text">
<string>Summarize missing layers</string>
<string>Summarize missing layers (when output is marker DB)</string>
</property>
<property name="checked">
<bool>true</bool>

View File

@ -1420,7 +1420,7 @@ XORToolDialog::run_xor ()
size_t todo_count = 0;
XORJob::EmptyLayerHandling el_handling = XORJob::EL_optimize;
if (summarize) {
if (summarize && output_mode == OMMarkerDatabase) {
el_handling = XORJob::EL_summarize;
} else if (process_el) {
el_handling = XORJob::EL_process;