Bug #1890 Opencv 2.4.0 with QT 4.7.4 and cvcreatebutton exception fixed.
QVector range check exception fixed.
This commit is contained in:
parent
f9c6123439
commit
06a7a1ac47
@ -1736,7 +1736,8 @@ void CvWindow::displayStatusBar(QString text, int delayms)
|
||||
|
||||
void CvWindow::enablePropertiesButton()
|
||||
{
|
||||
vect_QActions[9]->setDisabled(false);
|
||||
if (!vect_QActions.empty())
|
||||
vect_QActions[9]->setDisabled(false);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user