tvplanit: Fix DataStore property combo of TDayView in object inspector (did not display the available datastores).

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4687 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2016-06-07 22:34:09 +00:00
parent 04c64776ef
commit a64fca9830
2 changed files with 6 additions and 2 deletions

View File

@ -354,9 +354,13 @@ end;
RegisterPropertyEditor(TypeInfo(string), TVpBDEDataStore, RegisterPropertyEditor(TypeInfo(string), TVpBDEDataStore,
'DriverName', TDriverNameProperty); 'DriverName', TDriverNameProperty);
{$ENDIF} {$ENDIF}
// LCL: Registering next property editor inhibits that the DataStore
// property combo of the DayView lists the available datastores.
{register the DayView properties } {register the DayView properties }
RegisterPropertyEditor(TypeInfo(TVpCustomDataStore), TVpDayView, //RegisterPropertyEditor(TypeInfo(TVpCustomDataStore), TVpDayView,
'DataStore', TDataStoreProperty); // 'DataStore', TDataStoreProperty);
{register the property editor for the DataStore's DefaultAlarmWav } {register the property editor for the DataStore's DefaultAlarmWav }
RegisterPropertyEditor(TypeInfo(string), TVpCustomDataStore, RegisterPropertyEditor(TypeInfo(string), TVpCustomDataStore,

Binary file not shown.