mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-09 01:59:58 +02:00
Refactor context menu and link button logic
This commit is contained in:
@@ -342,7 +342,7 @@ void MasterPropertiesWidget::headerCustomContextMenuRequested(const QPoint &pos)
|
|||||||
{
|
{
|
||||||
m_context_menu->clear();
|
m_context_menu->clear();
|
||||||
m_context_menu->addAction(m_save_header_state);
|
m_context_menu->addAction(m_save_header_state);
|
||||||
m_context_menu->popup(ui->m_free_tree_widget->header()->mapToGlobal(pos));
|
m_context_menu->popup(ui->m_free_tree_widget->header()->mapToGlobal(pos));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user