Skip to content
Snippets Groups Projects
Commit 6acc19c4 authored by Matthias Puchner's avatar Matthias Puchner
Browse files

hide undo/redo actions as long as undo/redo is not completely implemented. See also issue #55

parent e10ae899
No related branches found
No related tags found
1 merge request!714Undo/Redo of sample editor
Pipeline #57914 passed
......@@ -141,7 +141,11 @@ void LayerOrientedSampleEditor::setCurrentSample(MultiLayerItem* multiLayerItem)
void LayerOrientedSampleEditor::updateActionEnabling()
{
// #baLayerEditor implement updateActionEnabling()
// Undo/Redo is not complete => hide the related buttons/actions
if (m_undoAction)
m_undoAction->setVisible(false);
if (m_redoAction)
m_redoAction->setVisible(false);
}
void LayerOrientedSampleEditor::onShowInlineEditButtonsToggled(bool checked)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment