forked from osmocom/wireshark
Export Objects: Don't double increment count
Don't double increment the count when saving all Export Objects, which effectively halves the maximum number allowed.
This commit is contained in:
parent
69b1ad68bc
commit
56e19bec49
|
@ -190,7 +190,6 @@ void ExportObjectModel::saveAllEntries(QString path)
|
|||
}
|
||||
filename = QString::fromUtf8(safe_filename->str);
|
||||
g_string_free(safe_filename, TRUE);
|
||||
count++;
|
||||
} while (save_dir.exists(filename) && ++count < prefs.gui_max_export_objects);
|
||||
eo_save_entry(save_dir.filePath(filename).toUtf8().constData(), entry);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue