Commit 15907899 authored by Alexander Stukowski's avatar Alexander Stukowski

Fixed regression in LAMMPSDumpExporterEditor not presenting the list of…

Fixed regression in LAMMPSDumpExporterEditor not presenting the list of exportable properties to the user. Fixes issue #91.
parent 85960c67
Pipeline #21915237 passed with stage
in 10 minutes 52 seconds
......@@ -93,7 +93,7 @@
<row>
<entry>VTK</entry>
<entry><para>Text-based format used by the ParaView software.</para></entry>
<entry>surface&#xA0;meshes</entry>
<entry>dislocations, surface&#xA0;meshes</entry>
</row>
<row>
<entry>POV-Ray&#xA0;scene</entry>
......@@ -104,7 +104,7 @@
<entry>Crystal&#xA0;Analysis&#xA0;(.ca)</entry>
<entry><para>Format that can store dislocation lines extracted from an atomistic crystal model by the <link linkend="particles.modifiers.dislocation_analysis">Dislocation Analysis</link> modifier.
The format is documented <link linkend="particles.modifiers.dislocation_analysis.fileformat">here</link>.</para></entry>
<entry>dislocations</entry>
<entry>dislocations, surface&#xA0;meshes</entry>
</row>
</tbody>
</tgroup>
......
......@@ -45,7 +45,9 @@ void LAMMPSDumpExporterEditor::createUI(const RolloutInsertionParameters& rollou
IntegerParameterUI* precisionUI = new IntegerParameterUI(this, PROPERTY_FIELD(FileExporter::floatOutputPrecision));
layout->addWidget(precisionUI->label(), 0, 0);
layout->addLayout(precisionUI->createFieldLayout(), 0, 1);
layout->addLayout(precisionUI->createFieldLayout(), 0, 1);
FileColumnParticleExporterEditor::createUI(rolloutParams.before(rollout));
}
OVITO_END_INLINE_NAMESPACE
......
......@@ -23,14 +23,14 @@
#include <plugins/particles/gui/ParticlesGui.h>
#include <gui/properties/PropertiesEditor.h>
#include <plugins/particles/gui/export/FileColumnParticleExporterEditor.h>
namespace Ovito { namespace Particles { OVITO_BEGIN_INLINE_NAMESPACE(Export) OVITO_BEGIN_INLINE_NAMESPACE(Formats) OVITO_BEGIN_INLINE_NAMESPACE(Internal)
/**
* \brief User interface component for the LAMMPSDumpExporter class.
*/
class LAMMPSDumpExporterEditor : public PropertiesEditor
class LAMMPSDumpExporterEditor : public FileColumnParticleExporterEditor
{
OVITO_CLASS(LAMMPSDumpExporterEditor)
Q_OBJECT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment