summaryrefslogtreecommitdiff
path: root/gtk2_ardour/pan_automation_time_axis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/pan_automation_time_axis.cc')
-rw-r--r--gtk2_ardour/pan_automation_time_axis.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/pan_automation_time_axis.cc b/gtk2_ardour/pan_automation_time_axis.cc
index c008a10ff0..1199982b5d 100644
--- a/gtk2_ardour/pan_automation_time_axis.cc
+++ b/gtk2_ardour/pan_automation_time_axis.cc
@@ -55,6 +55,11 @@ PanAutomationTimeAxisView::add_automation_event (ArdourCanvas::Item* item, GdkEv
{
if (lines.empty()) {
/* no data, possibly caused by no outputs/inputs */
+ Gtkmm2ext::PopUp* msg = new Gtkmm2ext::PopUp (Gtk::WIN_POS_MOUSE, 5000, true);
+
+ msg->set_text (_("Pan automation track has no lines, unable to add point\n(is track pannable?)"));
+ msg->touch ();
+
return;
}