mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-15 05:40:01 -05:00
Do not allow duplication of groups
Functionality has to be implemented first. Otherwise visual issues might occur when expanding or collapsing the new copy of the group entry.
This commit is contained in:
@@ -520,7 +520,8 @@ void AdvSceneSwitcher::ShowMacroContextMenu(const QPoint &pos)
|
||||
auto copy = menu.addAction(
|
||||
obs_module_text("AdvSceneSwitcher.macroTab.copy"), this,
|
||||
&AdvSceneSwitcher::CopyMacro);
|
||||
copy->setEnabled(ui->macros->SingleItemSelected());
|
||||
copy->setEnabled(ui->macros->SingleItemSelected() &&
|
||||
!ui->macros->GroupsSelected());
|
||||
menu.addSeparator();
|
||||
|
||||
auto group = menu.addAction(
|
||||
|
||||
Reference in New Issue
Block a user