From 72089cbc503b5368c4aef1218ea8247632c9a58d Mon Sep 17 00:00:00 2001 From: Justin Byers Date: Sat, 20 Jan 2018 12:02:37 -0500 Subject: [PATCH] fixed open/delete buttons not enabling on new repo --- mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 1477c14..24a68ca 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -304,6 +304,8 @@ void MainWindow::on_btn_new_repo_clicked() //add to the combo box ui->cmb_repo_urls->insertItem(ui->cmb_repo_urls->count(), m_dr->getText()); ui->cmb_repo_urls->setCurrentIndex(ui->cmb_repo_urls->count()-1); + ui->btn_open_repo->setEnabled(true); + ui->btn_del_repo->setEnabled(true); //write it to the file helpers::addRepoToFile(m_dr->getText(), REPO_URL_FILE_PATH);