Skip to content

Commit

Permalink
Correct property names in Prefs
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan authored and wwmayer committed May 10, 2017
1 parent 24698be commit 0ab0a92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Mod/TechDraw/Gui/DlgPrefsTechDraw.ui
Expand Up @@ -472,7 +472,7 @@
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::PrefFileChooser" name="fileChooser">
<widget class="Gui::PrefFileChooser" name="pfc_FilePattern">
<property name="toolTip">
<string>Default location for PAT file</string>
</property>
Expand All @@ -489,7 +489,7 @@
<item>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="2">
<widget class="Gui::PrefLineEdit" name="lineEdit">
<widget class="Gui::PrefLineEdit" name="le_NamePattern">
<property name="toolTip">
<string>Default PAT pattern</string>
</property>
Expand Down
6 changes: 4 additions & 2 deletions src/Mod/TechDraw/Gui/DlgPrefsTechDrawImp.cpp
Expand Up @@ -62,7 +62,8 @@ void DlgPrefsTechDrawImp::saveSettings()
pfc_DefTemp->onSave();
pfc_DefDir->onSave();
pfc_HatchFile->onSave();
//pfc_HatchDir->onSave();
pfc_FilePattern->onSave();
le_NamePattern->onSave();
}

void DlgPrefsTechDrawImp::loadSettings()
Expand All @@ -88,7 +89,8 @@ void DlgPrefsTechDrawImp::loadSettings()
pfc_HatchFile->onRestore();


//pfc_HatchDir->onRestore();
pfc_FilePattern->onRestore();
le_NamePattern->onRestore();
}

/**
Expand Down

0 comments on commit 0ab0a92

Please sign in to comment.