Commit 7fa908d7 authored by Matthias Puchner's avatar Matthias Puchner
Browse files

rm UI for originally imported filename

parent e8bdb282
...@@ -83,14 +83,6 @@ void SpecularDataImportWidget::setItem(SessionItem* _realDataItem) ...@@ -83,14 +83,6 @@ void SpecularDataImportWidget::setItem(SessionItem* _realDataItem)
fillLoaderCombo(); fillLoaderCombo();
// #baimport - check whether file exists. If not, add hint of this
QString filename = realDataItem()->nativeFileName();
if (filename.isEmpty())
filename = "(original filename unknown)";
else
filename = QDir::toNativeSeparators(filename);
m_ui->fileNameEdit->setText(filename);
QSignalBlocker b(m_ui->formatSelectionComboBox); QSignalBlocker b(m_ui->formatSelectionComboBox);
m_ui->formatSelectionComboBox->setCurrentText(m_loader->name()); m_ui->formatSelectionComboBox->setCurrentText(m_loader->name());
......
...@@ -37,14 +37,14 @@ ...@@ -37,14 +37,14 @@
<layout class="QHBoxLayout" name="horizontalLayout_3"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<item> <item>
<layout class="QFormLayout" name="formLayout"> <layout class="QFormLayout" name="formLayout">
<item row="2" column="0"> <item row="1" column="0">
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>Format:</string> <string>Format:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="1" column="1">
<widget class="QComboBox" name="formatSelectionComboBox"> <widget class="QComboBox" name="formatSelectionComboBox">
<item> <item>
<property name="text"> <property name="text">
...@@ -78,23 +78,6 @@ ...@@ -78,23 +78,6 @@
</item> </item>
</widget> </widget>
</item> </item>
<item row="1" column="1">
<widget class="QLineEdit" name="fileNameEdit">
<property name="enabled">
<bool>true</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>File to load:</string>
</property>
</widget>
</item>
</layout> </layout>
</item> </item>
</layout> </layout>
......
Supports Markdown
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