From 42890664aef1588a92fe9cf816766aae06e3aedb Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 3 Mar 2012 09:57:26 +0100 Subject: Customize menus and toolbar for PictureView * Added 4 new icons for PictureView-actions. * simplified SheMov::tabChanged(int) * fix long standing bug with QActionGroups in SheMov. Enable and disable all actions according to the active tab --- mappingtreemodel.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'mappingtreemodel.cpp') diff --git a/mappingtreemodel.cpp b/mappingtreemodel.cpp index 4a9e5aa..35b6acd 100644 --- a/mappingtreemodel.cpp +++ b/mappingtreemodel.cpp @@ -284,6 +284,7 @@ MappingData MappingTreeModel::mappingDataFromId(int mappingId) const{ } void MappingTreeModel::setSelectedMappings(const QList &mappingIds){ + //FIXME: Brute forcing looses focus which is needed for windowTitle! mSelectedMappings = mappingIds; /*foreach(int id, mappingIds){ QModelIndex idx = findRecursive(id, Id); -- cgit v1.2.3-70-g09d2