mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-13 20:16:07 -05:00
Add HideElseSection() in preparation for loop action
This commit is contained in:
@@ -1853,6 +1853,13 @@ bool MacroEdit::IsEmpty() const
|
||||
ui->elseActionsList->IsEmpty();
|
||||
}
|
||||
|
||||
void MacroEdit::HideElseSection() const
|
||||
{
|
||||
ui->toggleElseActions->setVisible(false);
|
||||
ui->macroElseActions->setMaximumHeight(0);
|
||||
ui->macroElseActionSplitter->handle(1)->setCursor(Qt::ArrowCursor);
|
||||
}
|
||||
|
||||
void MacroEdit::ShowAllMacroSections()
|
||||
{
|
||||
if (!ElseSectionIsVisible()) {
|
||||
|
||||
@@ -34,6 +34,7 @@ public:
|
||||
void PasteMacroSegment();
|
||||
bool IsEmpty() const;
|
||||
void ShowAllMacroSections();
|
||||
void HideElseSection() const;
|
||||
|
||||
private slots:
|
||||
void on_conditionAdd_clicked();
|
||||
|
||||
Reference in New Issue
Block a user