summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-15 19:40:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-15 19:40:23 +0100
commit505cee88bcffb5167d7eb400465adb49610c61fe (patch)
tree7eff53dc29e01f0ba7df7060a433f7cfd7862154 /ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp
parent65facfc7c819a5fc14385aedbb2848eb68bac390 (diff)
fix ft interface selection not persisting
Diffstat (limited to 'ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp')
-rw-r--r--ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp
index 7f070857..5ce903b7 100644
--- a/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp
+++ b/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp
@@ -45,7 +45,6 @@ FTControls::FTControls() :
connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
connect(ui.bntLocateNPClient, SIGNAL(clicked()), this, SLOT(selectDLL()));
- tie_setting(s.intUsedInterface, ui.cbxSelectInterface);
tie_setting(s.useDummyExe, ui.chkStartDummy);
tie_setting(s.useTIRViews, ui.chkTIRViews);
@@ -53,6 +52,8 @@ FTControls::FTControls() :
ui.cbxSelectInterface->addItem("Use FreeTrack, hide TrackIR");
ui.cbxSelectInterface->addItem("Use TrackIR, hide FreeTrack");
+ tie_setting(s.intUsedInterface, ui.cbxSelectInterface);
+
aFileName = QCoreApplication::applicationDirPath() + "/TIRViews.dll";
if ( !QFile::exists( aFileName ) ) {
ui.chkTIRViews->setChecked( false );