mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +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:
@@ -45,7 +45,7 @@ namespace BlackGui
|
||||
CDbOwnModelSetComponent *modelSetComponent();
|
||||
|
||||
//! Enable buttons
|
||||
void enableButtons(bool firstSet);
|
||||
void enableButtons(bool firstSet, bool newSet);
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CDbOwnModelSetDialog> ui;
|
||||
|
||||
Reference in New Issue
Block a user