Skip to content

Commit

Permalink
merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
1445643474 committed Oct 12, 2023
1 parent a491be7 commit 3f41bb4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ui/zenoedit/dock/docktabcontent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,10 +450,6 @@ void DockContent_Editor::initConnections()
};
connect(zenoApp->graphsManagment(), &GraphsManagment::fileOpened, this, resetAlways);
connect(zenoApp->graphsManagment(), &GraphsManagment::modelInited, this, resetAlways);
connect(m_btnRun, &ZToolMenuButton::runModeChanged, this, [=]() {
if (pAlways->isChecked())
emit pAlways->toggled(true);
});
connect(pAlways, &ZToolBarButton::toggled, this, [=](bool bChecked) {
if (bChecked)
{
Expand Down Expand Up @@ -551,6 +547,8 @@ void DockContent_Editor::initConnections()
});

connect(m_btnRun, &ZToolMenuButton::textChanged, this, [=]() {
if (pAlways->isChecked())
emit pAlways->toggled(true);
QString text = m_btnRun->text();
QColor clr;
if (text == tr("Run"))
Expand Down

0 comments on commit 3f41bb4

Please sign in to comment.