Fix PropertyIndex for CKeyboardKey and CJoystickButton

This commit is contained in:
Roland Winklmeier
2018-10-02 09:34:21 +02:00
committed by Klaus Basan
parent 8554fffec0
commit c13121edbd
3 changed files with 4 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ namespace BlackMisc
//! Properties by index
enum ColumnIndex
{
IndexDeviceName = 0,
IndexDeviceName = CPropertyIndex::GlobalIndexCJoystickButton,
IndexButton,
IndexButtonAsString,
IndeButtonObject, // just for updates

View File

@@ -34,7 +34,7 @@ namespace BlackMisc
//! Properties by index
enum ColumnIndex
{
IndexKey = 0,
IndexKey = CPropertyIndex::GlobalIndexCKeyboardKey,
IndexKeyAsString,
IndexKeyObject, // just for updates
};

View File

@@ -144,6 +144,8 @@ namespace BlackMisc
GlobalIndexCVPilotModelRule = 9000,
GlobalIndexCVoiceRoom = 10000,
GlobalIndexCSettingKeyboardHotkey = 11000,
GlobalIndexCKeyboardKey = 11100,
GlobalIndexCJoystickButton = 11200,
GlobalIndexIDatastoreInteger = 12000,
GlobalIndexIDatastoreString = 12100,
GlobalIndexCDbInfo = 12200,