Disable buttons before enabling other buttons, so that window doesn't get resized
This commit is contained in:
parent
e0f9017982
commit
c1c66c37d5
1 changed files with 4 additions and 4 deletions
|
|
@ -766,16 +766,16 @@ void Ui::OpenRGBDialog2::SetDetectionViewState(bool detection_showing)
|
|||
/*---------------------------------------------------------*\
|
||||
| Show the detection progress and hide the normal buttons |
|
||||
\*---------------------------------------------------------*/
|
||||
ui->DetectionProgressBar->setVisible(true);
|
||||
ui->DetectionProgressLabel->setVisible(true);
|
||||
ui->ButtonStopDetection->setVisible(true);
|
||||
|
||||
ui->ButtonToggleDeviceView->setVisible(false);
|
||||
ui->ButtonRescan->setVisible(false);
|
||||
ui->ButtonLoadProfile->setVisible(false);
|
||||
ui->ButtonSaveProfile->setVisible(false);
|
||||
ui->ButtonDeleteProfile->setVisible(false);
|
||||
ui->ProfileBox->setVisible(false);
|
||||
|
||||
ui->DetectionProgressBar->setVisible(true);
|
||||
ui->DetectionProgressLabel->setVisible(true);
|
||||
ui->ButtonStopDetection->setVisible(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue