diff --git a/GUI/mainwindow.cpp b/GUI/mainwindow.cpp index 6e61abb..cb61dd5 100644 --- a/GUI/mainwindow.cpp +++ b/GUI/mainwindow.cpp @@ -71,7 +71,7 @@ MainWindow::MainWindow(QWidget *parent) : std::map extensions = LoadExtensions(); for (auto i : extensions) extenCombo->addItem(QString::number(i.first) + ":" + i.second); Host::Open(); - Host::AddConsoleOutput(L"NextHooker beta v2.0.0 by Artikash\r\nSource code and more information available under GPLv3 at https://github.com/Artikash/NextHooker"); + Host::AddConsoleOutput(L"NextHooker beta v2.0.1 by Artikash\r\nSource code and more information available under GPLv3 at https://github.com/Artikash/NextHooker"); } MainWindow::~MainWindow() @@ -120,12 +120,12 @@ void MainWindow::AddThread(TextThread* thread) void MainWindow::RemoveThread(TextThread* thread) { int threadIndex = ttCombo->findText(QString::number(thread->Number()) + ":", Qt::MatchStartsWith); - ttCombo->removeItem(threadIndex); if (threadIndex == ttCombo->currentIndex()) { ttCombo->setCurrentIndex(0); on_ttCombo_activated(0); } + ttCombo->removeItem(threadIndex); } void MainWindow::ThreadOutput(TextThread* thread, QString output)