mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
[gui][sensors] When applying sensor settings, disable apply button
This commit is contained in:
parent
0068efdebe
commit
49d1be6739
@ -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();
|
||||
} );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user