hide actions instead of disable
This commit is contained in:
@@ -405,8 +405,8 @@ void ProjectFilesystemWidget::on_tree_customContextMenuRequested(const QPoint &
|
||||
item_target = item;
|
||||
projectfs_menu_target = QFileInfo(item->data(0, roleFullPath).toString());
|
||||
setExtVariable();
|
||||
actionOpen_here->setEnabled(!projectfs_menu_target.isDir());
|
||||
actionOpen_external->setEnabled(!projectfs_menu_target.isDir());
|
||||
actionOpen_here->setVisible(!projectfs_menu_target.isDir());
|
||||
actionOpen_external->setVisible(!projectfs_menu_target.isDir());
|
||||
popup_menu.clear();
|
||||
|
||||
/*if (item->data(0, roleItemType).toInt() == itProject) {
|
||||
|
||||
Reference in New Issue
Block a user