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);
|
||||
if (mScratchPad)
|
||||
mScratchPad->setEnabled(true);
|
||||
mUI.mActionViewStats->setEnabled(true);
|
||||
|
||||
if (mProjectFile && !mProjectFile->getBuildDir().isEmpty()) {
|
||||
const QString prjpath = QFileInfo(mProjectFile->getFilename()).absolutePath();
|
||||
|
|
|
@ -495,6 +495,9 @@
|
|||
</property>
|
||||
</action>
|
||||
<action name="mActionViewStats">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="gui.qrc">
|
||||
<normaloff>:/images/text-x-generic.png</normaloff>:/images/text-x-generic.png</iconset>
|
||||
|
|
Loading…
Reference in New Issue