disable repair button until is available

work/spdx
Michail Vourlakos 4 years ago
parent 9834d39e66
commit 1fbf7b8719

@ -748,6 +748,7 @@ void Views::messageForWarningOrphanedSubContainments(const Data::Warning &warnin
//! add actions //! add actions
QAction *openlayoutaction = new QAction(i18n("Open Layout"), this); QAction *openlayoutaction = new QAction(i18n("Open Layout"), this);
QAction *repairlayoutaction = new QAction(i18n("Repair"), this); QAction *repairlayoutaction = new QAction(i18n("Repair"), this);
repairlayoutaction->setEnabled(false);
Data::Layout currentlayout = m_handler->currentData(); Data::Layout currentlayout = m_handler->currentData();
openlayoutaction->setData(currentlayout.id); openlayoutaction->setData(currentlayout.id);
QList<QAction *> actions; QList<QAction *> actions;

Loading…
Cancel
Save