NOISSUE fix crash bug in version page of instances
This was caused by generation of temporary component objects when no such thing should have been happening.
This commit is contained in:
parent
257f8ca9fd
commit
50ca6cbb4d
@ -527,7 +527,7 @@ void VersionPage::onGameUpdateError(QString error)
|
||||
QMessageBox::Warning)->show();
|
||||
}
|
||||
|
||||
ComponentPtr VersionPage::current()
|
||||
Component * VersionPage::current()
|
||||
{
|
||||
auto row = currentRow();
|
||||
if(row < 0)
|
||||
|
@ -67,7 +67,7 @@ private slots:
|
||||
void on_changeVersionBtn_clicked();
|
||||
|
||||
private:
|
||||
ComponentPtr current();
|
||||
Component * current();
|
||||
int currentRow();
|
||||
void updateButtons(int row = -1);
|
||||
void preselect(int row = 0);
|
||||
|
Loading…
Reference in New Issue
Block a user