Hide the "remote" file check option

This option will be removed at some point in the future.
The http action should be used instead.
This commit is contained in:
WarmUpTill
2025-03-29 14:04:08 +01:00
committed by WarmUpTill
parent 634270a978
commit 78a5a2629d
2 changed files with 8 additions and 1 deletions

View File

@@ -442,6 +442,13 @@ void MacroConditionFileEdit::SetWidgetVisibility()
_entryData->_onlyMatchIfChanged &&
_entryData->GetCondition() ==
MacroConditionFile::Condition::MATCH);
// TODO: Remove remote file support in future version in favor of HTTP
// action.
// Hide the option for now, if it is not used already.
_fileTypes->setVisible(_entryData->_fileType ==
MacroConditionFile::FileType::REMOTE);
adjustSize();
updateGeometry();
}