mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
Try to work around spinbox dirty status change on apply issue.
This commit is contained in:
parent
5450a18c85
commit
9c90d54eda
2 changed files with 10 additions and 0 deletions
|
@ -114,6 +114,14 @@ EditExistingPartitionDialog::EditExistingPartitionDialog( Device* device, Partit
|
|||
EditExistingPartitionDialog::~EditExistingPartitionDialog()
|
||||
{}
|
||||
|
||||
void
|
||||
EditExistingPartitionDialog::done( int r )
|
||||
{
|
||||
// Avoid emitting editingFinished when losing focus
|
||||
m_ui->sizeSpinBox->blockSignals( true );
|
||||
QDialog::done( r );
|
||||
}
|
||||
|
||||
|
||||
PartitionTable::Flags
|
||||
EditExistingPartitionDialog::newFlags() const
|
||||
|
|
|
@ -43,6 +43,8 @@ public:
|
|||
EditExistingPartitionDialog( Device* device, Partition* partition, QWidget* parentWidget = nullptr );
|
||||
~EditExistingPartitionDialog();
|
||||
|
||||
void done( int r ) override;
|
||||
|
||||
void applyChanges( PartitionCoreModule* module );
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue