diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index bf46273c..08e30656 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -141,7 +141,8 @@ MainWindow::MainWindow(QWidget *parent) mCompilerSet = new QComboBox(); mCompilerSet->setMinimumWidth(200); mCompilerSet->setSizeAdjustPolicy(QComboBox::AdjustToContents); - ui->toolbarCompilerSet->addWidget(mCompilerSet); + ui->toolbarCompilerSet->insertWidget(ui->actionCompiler_Options, mCompilerSet); + ui->toolbarCompilerSet->insertSeparator(ui->actionCompiler_Options); connect(mCompilerSet,QOverload::of(&QComboBox::currentIndexChanged), this, &MainWindow::onCompilerSetChanged); //updateCompilerSet(); diff --git a/RedPandaIDE/mainwindow.ui b/RedPandaIDE/mainwindow.ui index 38766b39..65ac76c6 100644 --- a/RedPandaIDE/mainwindow.ui +++ b/RedPandaIDE/mainwindow.ui @@ -1835,7 +1835,6 @@ - @@ -1879,6 +1878,7 @@ false +