From 167b30b04655431be4baa58975409d6aba703e60 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Fri, 1 Sep 2017 09:41:21 -0400 Subject: [PATCH] 2017-09-01 Fred Gleason * 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. --- ChangeLog | 4 ++++ rdlibrary/record_cut.cpp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index df119a81..31584aae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 + * 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. diff --git a/rdlibrary/record_cut.cpp b/rdlibrary/record_cut.cpp index fc457c54..df08a6ca 100644 --- a/rdlibrary/record_cut.cpp +++ b/rdlibrary/record_cut.cpp @@ -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);