[dasher] Windows: make "start on space bar" checkbox do something
- From: Patrick Welche <pwelche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dasher] Windows: make "start on space bar" checkbox do something
- Date: Thu, 28 Feb 2013 17:04:33 +0000 (UTC)
commit d69f7261dcb2a1b3bd831e5300e1ac2a06f5b3b5
Author: Patrick Welche <prlw1 cam ac uk>
Date: Thu Feb 28 13:03:16 2013 +0000
Windows: make "start on space bar" checkbox do something
Src/DasherCore/DasherInterfaceBase.cpp | 2 +-
Src/Win32/Widgets/ControlPage.cpp | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/Src/DasherCore/DasherInterfaceBase.cpp b/Src/DasherCore/DasherInterfaceBase.cpp
index 7509347..db578a1 100644
--- a/Src/DasherCore/DasherInterfaceBase.cpp
+++ b/Src/DasherCore/DasherInterfaceBase.cpp
@@ -221,7 +221,7 @@ void CDasherInterfaceBase::PreSetNotify(int iParameter, const std::string &sNewV
}
SetStringParameter(SP_ALPHABET_2, GetStringParameter(SP_ALPHABET_1));
}
- SetStringParameter(SP_ALPHABET_1, GetStringParameter(SP_ALPHABET_ID));
+ SetStringParameter(SP_ALPHABET_1, GetStringParameter(SP_ALPHABET_ID));
}
break;
diff --git a/Src/Win32/Widgets/ControlPage.cpp b/Src/Win32/Widgets/ControlPage.cpp
index 4ec5828..46f97e5 100644
--- a/Src/Win32/Widgets/ControlPage.cpp
+++ b/Src/Win32/Widgets/ControlPage.cpp
@@ -33,6 +33,7 @@ struct menuentry {
// List of menu items that will be displayed in the General Preferences
static menuentry menutable[] = {
{BP_START_MOUSE, IDC_LEFT},
+ {BP_START_SPACE, IDC_SPACE},
{BP_STOP_IDLE, IDC_STOPIDLE},
{BP_STOP_OUTSIDE, IDC_WINDOWPAUSE},
{BP_AUTO_SPEEDCONTROL, IDC_AUTOSPEED},
@@ -102,8 +103,6 @@ void CControlPage::PopulateList() {
// List entries:
for(int i(0); i<sizeof(listtable)/sizeof(menuentry); ++i) {
- // {
-// int i(0);
std::vector<std::string> vValues;
m_pAppSettings->GetPermittedValues(listtable[i].paramNum, vValues);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]