Marked 2.5d as experimental, wording of an error message

This commit is contained in:
Matthias Koefferlein 2021-04-03 01:39:19 +02:00
parent 52754ed418
commit 2862cb4ffd
2 changed files with 2 additions and 2 deletions

View File

@ -3942,7 +3942,7 @@ MainWindow::menu_activated (const std::string &symbol)
if (current_view ()) {
current_view ()->menu_activated (symbol);
} else {
throw tl::Exception (tl::to_string (QObject::tr ("No view is active")));
throw tl::Exception (tl::to_string (QObject::tr ("This function needs a layout but none was available")));
}
}

View File

@ -89,7 +89,7 @@ public:
virtual void get_menu_entries (std::vector<lay::MenuEntry> &menu_entries) const
{
lay::PluginDeclaration::get_menu_entries (menu_entries);
menu_entries.push_back (lay::menu_item ("lay::d25_view", "d25_view:edit", "tools_menu.post_verification_group", tl::to_string (QObject::tr ("2.5d View"))));
menu_entries.push_back (lay::menu_item ("lay::d25_view", "d25_view:edit", "tools_menu.post_verification_group", tl::to_string (QObject::tr ("2.5d View - experimental"))));
}
virtual bool configure (const std::string & /*name*/, const std::string & /*value*/)