Commit c0da339f authored by Matthias Möller's avatar Matthias Möller

hide lightmode toolbar when leaving pickmode

refs #1378

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16090 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 437eb059
...@@ -109,10 +109,6 @@ void CoreWidget::setActionMode(const Viewer::ActionMode _am){ ...@@ -109,10 +109,6 @@ void CoreWidget::setActionMode(const Viewer::ActionMode _am){
// Update pickmode toolbar // Update pickmode toolbar
switch ( _am ) { switch ( _am ) {
case Viewer::ExamineMode:
hidePickToolBar();
break;
case Viewer::PickingMode: case Viewer::PickingMode:
// Show the pickMode Toolbar for this picking mode if it is set // Show the pickMode Toolbar for this picking mode if it is set
if (pick_mode_idx_ != -1) { if (pick_mode_idx_ != -1) {
...@@ -124,6 +120,7 @@ void CoreWidget::setActionMode(const Viewer::ActionMode _am){ ...@@ -124,6 +120,7 @@ void CoreWidget::setActionMode(const Viewer::ActionMode _am){
break; break;
default: default:
hidePickToolBar();
break; break;
} }
......
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