GUI: If no analysis has been done, there are no statistics to show
This commit is contained in:
parent
e4fd389075
commit
5acbae8cfa
|
@ -930,6 +930,7 @@ void MainWindow::analysisDone()
|
||||||
mUI.mActionPosix->setEnabled(true);
|
mUI.mActionPosix->setEnabled(true);
|
||||||
if (mScratchPad)
|
if (mScratchPad)
|
||||||
mScratchPad->setEnabled(true);
|
mScratchPad->setEnabled(true);
|
||||||
|
mUI.mActionViewStats->setEnabled(true);
|
||||||
|
|
||||||
if (mProjectFile && !mProjectFile->getBuildDir().isEmpty()) {
|
if (mProjectFile && !mProjectFile->getBuildDir().isEmpty()) {
|
||||||
const QString prjpath = QFileInfo(mProjectFile->getFilename()).absolutePath();
|
const QString prjpath = QFileInfo(mProjectFile->getFilename()).absolutePath();
|
||||||
|
|
|
@ -495,6 +495,9 @@
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="mActionViewStats">
|
<action name="mActionViewStats">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="gui.qrc">
|
<iconset resource="gui.qrc">
|
||||||
<normaloff>:/images/text-x-generic.png</normaloff>:/images/text-x-generic.png</iconset>
|
<normaloff>:/images/text-x-generic.png</normaloff>:/images/text-x-generic.png</iconset>
|
||||||
|
|
Loading…
Reference in New Issue