Commit 06a7a1ac authored by Alexander Smorkalov's avatar Alexander Smorkalov

Bug #1890 Opencv 2.4.0 with QT 4.7.4 and cvcreatebutton exception fixed.

QVector range check exception fixed.
parent f9c61234
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment