2017-09-01 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in 'rdlibrary/record_cut.cpp' that caused the 'Weight'
	control to fail to be disabled when the cut was placed in evergreen
	mode.
This commit is contained in:
Fred Gleason
2017-09-01 09:41:21 -04:00
parent 796164403c
commit 167b30b046
2 changed files with 6 additions and 1 deletions

View File

@@ -16003,3 +16003,7 @@
* Refactored the layout of the 'Cut Info/Record' dialog in RDLibrary.
* Added a 'Source Host' control to the 'Cut Info/Record' dialog
in RDLibrary.
2017-09-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdlibrary/record_cut.cpp' that caused the 'Weight'
control to fail to be disabled when the cut was placed in evergreen
mode.

View File

@@ -1002,6 +1002,8 @@ void RecordCut::meterData()
void RecordCut::evergreenToggledData(bool state)
{
cut_weight_label->setDisabled(state);
cut_weight_box->setDisabled(state);
cut_killdatetime_label->setDisabled(state);
cut_startdatetime_enable_button->setDisabled(state);
cut_startdatetime_disable_button->setDisabled(state);
@@ -1035,7 +1037,6 @@ void RecordCut::evergreenToggledData(bool state)
void RecordCut::resizeEvent(QResizeEvent *e)
{
int w=size().width();
int h=size().height();
cut_description_label->setGeometry(0,10,85,20);
cut_description_edit->setGeometry(90,10,w-100,20);