Ref T311, avoid crash of model set dialog

- check for nullptr mapping component
- disable new set button in dialog
This commit is contained in:
Klaus Basan
2018-08-27 15:25:53 +02:00
parent a7d3fb4db0
commit d320f590b4
5 changed files with 17 additions and 9 deletions

View File

@@ -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;