Issue #189: Minor bugfixes

This commit is contained in:
Jakub Melka 2024-06-29 15:52:31 +02:00
parent 65a9cde729
commit dcac8c9572
3 changed files with 5 additions and 4 deletions

View File

@ -49,8 +49,6 @@ EditorPlugin::EditorPlugin() :
m_scene.setIsPageContentDrawSuppressed(true);
}
// TODO: When text is edited, old text remains
void EditorPlugin::setWidget(pdf::PDFWidget* widget)
{
Q_ASSERT(!m_widget);
@ -185,7 +183,7 @@ std::vector<QAction*> EditorPlugin::getActions() const
QString EditorPlugin::getPluginMenuName() const
{
return tr("Edi&tor");
return tr("Ed&itor");
}
bool EditorPlugin::updatePageContent(pdf::PDFInteger pageIndex,

View File

@ -80,7 +80,7 @@ std::vector<QAction*> ObjectInspectorPlugin::getActions() const
QString ObjectInspectorPlugin::getPluginMenuName() const
{
return tr("Object &Inspector");
return tr("O&bject Inspector");
}
void ObjectInspectorPlugin::onObjectInspectorTriggered()

View File

@ -64,6 +64,9 @@
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="outlineButton">
<property name="minimumSize">