summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/toolbox.cpp')
-rw-r--r--src/widgets/toolbox.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index cd2506bef..95e893a34 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -2128,6 +2128,9 @@ static void sp_3dbox_toggle_vp_changed( GtkToggleAction *act, gpointer data )
case Box3D::Z:
pstring = g_string_new("togglevpz");
break;
+ default:
+ g_warning ("Only single axis directions may be used to toggle VPs!\n");
+ break;
}
if (SP3DBoxContext::current_perspective) {