diff options
author | Daniel Teske <daniel.teske@theqtcompany.com> | 2014-11-21 16:38:55 +0100 |
---|---|---|
committer | Daniel Teske <daniel.teske@theqtcompany.com> | 2014-11-24 12:45:10 +0100 |
commit | a4a4f7a4759e97142f751fdb91cb11536e5102e2 (patch) | |
tree | 1c0271468241975d8c36b13163fba8fec5cb772c /src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp | |
parent | 5449e0a731dce1ff313c213ffe592c45b1d952d7 (diff) | |
download | qt-creator-a4a4f7a4759e97142f751fdb91cb11536e5102e2.tar.gz |
ProjectExplorer: Fix disabled "Close Project" after closing project
The close project action is special. If there are multiple projects open
we show a menu with individual actions per project. If only one project
is open, we show one the "m_unloadAction". Even with only one project
open, the current project might be null. So explicitly manage enabled
the same way as visible. And also us the displayName of the startup
project, since that is guranteed to be non-null if there's a project
open.
Task-number: QTCREATORBUG-13497
Change-Id: I9150568da162c58ee524c2b954e0b9a816f79d7c
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp')
0 files changed, 0 insertions, 0 deletions