mirror of
				https://github.com/ElvishArtisan/rivendell.git
				synced 2025-10-31 14:13:52 +01:00 
			
		
		
		
	2017-08-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdlogmanager/edit_grid.cpp' to broke functioning of the 'Clear Hour' item in the right-click menu.
This commit is contained in:
		| @@ -15916,3 +15916,6 @@ | ||||
| 	* Fixed a bug in 'lib/rdevent_line.cpp' that caused an embedded traffic | ||||
| 	import event to be assigned incorrect link parameters when scheduled | ||||
| 	at midnight. | ||||
| 2017-08-01 Fred Gleason <fredg@paravelsystems.com> | ||||
| 	* Fixed a bug in 'rdlogmanager/edit_grid.cpp' to broke functioning of | ||||
| 	the 'Clear Hour' item in the right-click menu. | ||||
|   | ||||
| @@ -264,9 +264,10 @@ void EditGrid::clearHourData() | ||||
| { | ||||
|   int dayofweek=edit_rightclick_id/24+1; | ||||
|   int hour=edit_rightclick_id-24*(dayofweek-1); | ||||
|  | ||||
|   QString sql=QString("update SERVICE_CLOCKS set CLOCK_NAME=null where ")+ | ||||
|     "(SERVICE_NAME=\""+RDEscapeString(edit_servicename)+"\")&&"+ | ||||
|     QString().sprintf("HOUR=%d)",hour); | ||||
|     QString().sprintf("(HOUR=%d)",(dayofweek-1)*24+hour); | ||||
|   RDSqlQuery *q=new RDSqlQuery(sql); | ||||
|   delete q; | ||||
|   LabelButton(dayofweek,hour,""); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user