File tree Expand file tree Collapse file tree
src/ui/gui/editor/widget_pipeline/dialog_pipeline_settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,10 +73,12 @@ DialogPipelineSettings::DialogPipelineSettings(const joda::settings::Classificat
7373
7474 zStackIndex = new QLineEdit ();
7575 zStackIndex->setPlaceholderText (" Z-Stack to analyze [0 - 65535]" );
76+ zStackIndex->setText (" 0" );
7677 formLayout->addRow (" z-index" , zStackIndex);
7778
7879 tStackIndex = new QLineEdit ();
7980 tStackIndex->setPlaceholderText (" T-Stack to analyze [0 - 65535]" );
81+ tStackIndex->setText (" 0" );
8082 formLayout->addRow (" t-index" , tStackIndex);
8183
8284 defaultClassId = new QComboBox ();
@@ -181,13 +183,13 @@ void DialogPipelineSettings::fromSettings()
181183 if (mSettings .pipelineSetup .zStackIndex >= 0 ) {
182184 zStackIndex->setText (QString::number ((mSettings .pipelineSetup .zStackIndex )));
183185 } else {
184- zStackIndex->setText (" " );
186+ zStackIndex->setText (" 0 " );
185187 }
186188
187189 if (mSettings .pipelineSetup .tStackIndex >= 0 ) {
188190 tStackIndex->setText (QString::number ((mSettings .pipelineSetup .tStackIndex )));
189191 } else {
190- tStackIndex->setText (" " );
192+ tStackIndex->setText (" 0 " );
191193 }
192194
193195 mPipelineNotes ->setText (mSettings .meta .notes .data ());
You can’t perform that action at this time.
0 commit comments