History

Window.nonBlockingForm active status was not being tested correctly. Was causing unexpected fail on second attempt to show form

DaveDubUK committed 11 years ago

Commit cd95f7b1 parent f987f771 file · +1 −1Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 1 file). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.cpp+1−1
@@ -200,7 +200,7 @@ void WindowScriptingInterface::showNonBlockingForm(const QString& title, QScript · 199 unmodified lines
200200 }
201201
202202 // what should we do if someone calls us while we still think we have a dialog showing???
203− if (_editDialog) {
203+ if (_nonBlockingFormActive) {
204204 qDebug() << "Show Non-Blocking Form called when form already active.";
205205 return;
206206 }