mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Elementspanel widget remove old action reload in context menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4695 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -61,7 +61,6 @@ ElementsPanelWidget::ElementsPanelWidget(QWidget *parent) : QWidget(parent) {
|
||||
tbt_edit = new QAction(QET::Icons::TitleBlock, tr("Éditer ce modèle"), this);
|
||||
tbt_remove = new QAction(QET::Icons::TitleBlock, tr("Supprimer ce modèle"), this);
|
||||
|
||||
reload -> setShortcut(Qt::Key_F5);
|
||||
|
||||
// initialise le champ de texte pour filtrer avec une disposition horizontale
|
||||
filter_textfield = new QLineEdit(this);
|
||||
@@ -349,7 +348,6 @@ void ElementsPanelWidget::handleContextMenu(const QPoint &pos) {
|
||||
|
||||
updateButtons();
|
||||
context_menu -> clear();
|
||||
context_menu->addAction(reload);
|
||||
|
||||
QString dir_path = elements_panel -> dirPathForItem(item);
|
||||
if (!dir_path.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user