summaryrefslogtreecommitdiff
path: root/src/gui/windows/skilldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-03 00:25:03 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-03 01:01:11 +0300
commit4f6d9da4e83a23a4531ce63006f669daf4992c69 (patch)
treeef303ed0dd2380665963a67bc189f43af9fbc040 /src/gui/windows/skilldialog.cpp
parent20f5a9d3754bd598f091ae7e66fa0294800f9b30 (diff)
downloadmv-4f6d9da4e83a23a4531ce63006f669daf4992c69.tar.gz
mv-4f6d9da4e83a23a4531ce63006f669daf4992c69.tar.bz2
mv-4f6d9da4e83a23a4531ce63006f669daf4992c69.tar.xz
mv-4f6d9da4e83a23a4531ce63006f669daf4992c69.zip
Add option into paths.xml for allow/deny add unknown skills into auto tab.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r--src/gui/windows/skilldialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index 737fdfdf3..615ac8319 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -723,6 +723,7 @@ void SkillDialog::addSkill(const SkillOwner::Type owner,
data->setIcon(icon);
data->haveIcon = true;
}
+ data->autoTab = settings.unknownSkillsAutoTab;
data->shortName = toString(skill->id);
skill->modifiable = modifiable;
skill->visible = Visible_false;