From 84b88630a5acdc2f8ad46161d5eaaf1511cbc8d3 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Sat, 28 Nov 2009 14:59:57 +0000 Subject: Opening the XMLConsole should bring it to front. Just plugged in the activate call for the qttabbables. Resolves: #263 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 rawEvent) { xmlConsoleWidget_ = xmlConsoleWidgetFactory_->createXMLConsoleWidget(); } xmlConsoleWidget_->show(); + xmlConsoleWidget_->activate(); } } -- cgit v0.10.2-6-g49f6