diff --git a/CMakeLists.txt b/CMakeLists.txt index 7cff849..577c798 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ project(fastpathology) set(VERSION_MAJOR 1) set(VERSION_MINOR 1) -set(VERSION_PATCH 1) +set(VERSION_PATCH 2) set(FP_VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) set(CMAKE_CXX_STANDARD 17) diff --git a/source/gui/MainWindow.cpp b/source/gui/MainWindow.cpp index a151ac0..12d088b 100644 --- a/source/gui/MainWindow.cpp +++ b/source/gui/MainWindow.cpp @@ -198,6 +198,7 @@ void MainWindow::createOpenGLWindow() { view->set2DMode(); view->setBackgroundColor(Color(OpenGL_background_color, OpenGL_background_color, OpenGL_background_color)); // setting color to the background, around the WSI view->setAutoUpdateCamera(true); + view->setScalebar(true); // create QSplitter for adjustable windows auto mainSplitter = new QSplitter(Qt::Horizontal);