Commit b11d8228 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

BUG: Trying to fix pqFileDialogTest on amber5/8.

parent d341f788
......@@ -72,6 +72,10 @@ static QStringList ObjectList;
static PyObject*
QtTesting_playCommand(PyObject* /*self*/, PyObject* args)
{
// this gives the main thread some time to refresh before we start sending
// commands. Avoids crazy hangs in QDialog::exec() calls.
pqThreadedEventSource::msleep(500);
// void QtTesting.playCommand('object', 'command', 'arguments')
// an exception is thrown in this fails
......
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