Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 7b9dde9b authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED crash when using test application

parent 4314deda
......@@ -219,6 +219,9 @@ void MainWindow::showViewer(Viewer* theViewer, bool visible) {
// ------------- showViewerToolbar -----------------
void MainWindow::showViewerToolbar(Viewer* theViewer, bool visible) {
if (theViewer == nullptr)
return;
QToolBar* viewerToolBar = theViewer->getToolBar();
if (viewerToolBar != nullptr) {
if (visible && theViewer->getToolBarVisibility()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment