Skip to content
Snippets Groups Projects
Commit de9ec7ae authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

replace 'setContextPEA' by 'updateProjsActions'

parent 2d73fdda
No related branches found
No related tags found
1 merge request!2253mostly renames, spell out setContext...
......@@ -72,7 +72,7 @@ void Plot2DWithProjectionFrame::setContextPW()
m_projectionsCanvas->updateProjsCanvas(currentData2DItem());
m_projectionsWidget->setData2DItem(currentData2DItem());
m_editorActions->setContextPEA(currentData2DItem());
m_editorActions->updateProjsActions(currentData2DItem());
}
void Plot2DWithProjectionFrame::showEvent(QShowEvent*)
......
......@@ -50,7 +50,7 @@ ProjectionActions::ProjectionActions(QWidget* parent)
connect(m_deleteAction, &QAction::triggered, this, &ProjectionActions::onDeleteAction);
}
void ProjectionActions::setContextPEA(Data2DItem* data2DItem)
void ProjectionActions::updateProjsActions(Data2DItem* data2DItem)
{
ASSERT(data2DItem);
m_data2DItem = data2DItem;
......
......@@ -28,7 +28,7 @@ class ProjectionActions : public QObject {
public:
ProjectionActions(QWidget* parent = nullptr);
void setContextPEA(Data2DItem* data2DItem);
void updateProjsActions(Data2DItem* data2DItem);
QList<QAction*> topToolboxActions();
......
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