Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[gui][sensors] When applying sensor settings, disable apply button
  • Loading branch information
nirvn committed Apr 1, 2023
1 parent 0068efd commit 49d1be6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/sensor/qgssensortablewidget.cpp
Expand Up @@ -55,6 +55,7 @@ QgsSensorSettingsWidget::QgsSensorSettingsWidget( QgsAbstractSensor *sensor, QWi
mButtonBox->button( QDialogButtonBox::Apply )->setEnabled( false );
connect( mButtonBox->button( QDialogButtonBox::Apply ), &QAbstractButton::clicked, this, [ = ]()
{
mButtonBox->button( QDialogButtonBox::Apply )->setEnabled( false );
apply();
} );

Expand Down

0 comments on commit 49d1be6

Please sign in to comment.