mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Ref T311, avoid crash of model set dialog
- check for nullptr mapping component - disable new set button in dialog
This commit is contained in:
@@ -42,9 +42,9 @@ namespace BlackGui
|
||||
return ui->comp_OwnModelSet;
|
||||
}
|
||||
|
||||
void CDbOwnModelSetDialog::enableButtons(bool firstSet)
|
||||
void CDbOwnModelSetDialog::enableButtons(bool firstSet, bool newSet)
|
||||
{
|
||||
ui->comp_OwnModelSet->enableButtons(firstSet);
|
||||
ui->comp_OwnModelSet->enableButtons(firstSet, newSet);
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user