From 971e35dc10fb6a8e5baacf76eb26967fd27df866 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Thu, 2 Aug 2018 02:17:20 -0400 Subject: [PATCH] bugfix and update version --- GUI/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)