diff options
-rw-r--r-- | Swift/Controllers/UIInterfaces/XMLConsoleWidget.h | 1 | ||||
-rw-r--r-- | Swift/Controllers/XMLConsoleController.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Controllers/UIInterfaces/XMLConsoleWidget.h b/Swift/Controllers/UIInterfaces/XMLConsoleWidget.h index 9098fbc..e333d97 100644 --- a/Swift/Controllers/UIInterfaces/XMLConsoleWidget.h +++ b/Swift/Controllers/UIInterfaces/XMLConsoleWidget.h @@ -6,5 +6,6 @@ namespace Swift { virtual ~XMLConsoleWidget(); virtual void show() = 0; + virtual void activate() = 0; }; } diff --git a/Swift/Controllers/XMLConsoleController.cpp b/Swift/Controllers/XMLConsoleController.cpp index 810e8a6..ebc9912 100644 --- a/Swift/Controllers/XMLConsoleController.cpp +++ b/Swift/Controllers/XMLConsoleController.cpp @@ -19,6 +19,7 @@ void XMLConsoleController::handleUIEvent(boost::shared_ptr<UIEvent> rawEvent) { xmlConsoleWidget_ = xmlConsoleWidgetFactory_->createXMLConsoleWidget(); } xmlConsoleWidget_->show(); + xmlConsoleWidget_->activate(); } } |