mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Virtual files: Use theme to check for option availability
This commit is contained in:
parent
94e63ef7b9
commit
251e01a440
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ void AccountSettings::slotCustomContextMenuRequested(const QPoint &pos)
|
|||
ac = menu->addAction(tr("Remove folder sync connection"));
|
||||
connect(ac, &QAction::triggered, this, &AccountSettings::slotRemoveCurrentFolder);
|
||||
|
||||
if (ConfigFile().showExperimentalOptions() || folder->useVirtualFiles()) {
|
||||
if (Theme::instance()->showVirtualFilesOption() || folder->useVirtualFiles()) {
|
||||
ac = menu->addAction(tr("Create virtual files for new files (Experimental)"));
|
||||
ac->setCheckable(true);
|
||||
ac->setChecked(folder->useVirtualFiles());
|
||||
|
|
Loading…
Reference in a new issue