Commit eb357b4f authored by Jan Möbius's avatar Jan Möbius
Browse files

Added scripting funcrion to update ui while in scripting mode

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16487 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4855e487
...@@ -921,6 +921,12 @@ void Core::updateView() ...@@ -921,6 +921,12 @@ void Core::updateView()
} }
//-----------------------------------------------------------------------------
void Core::updateUI() {
QApplication::processEvents();
}
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
......
...@@ -639,6 +639,9 @@ public slots: ...@@ -639,6 +639,9 @@ public slots:
/// Called when a plugin requests an update in the viewer /// Called when a plugin requests an update in the viewer
void updateView(); void updateView();
/// process events during script execution to keep the ui alive
void updateUI();
/// Clear all data objects /// Clear all data objects
void clearAll(); void clearAll();
......
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