Verified Commit 71ec360d authored by ita1024's avatar ita1024

Display actor captions

parent 4ec3aa03
Semantik 1.0.0
--------------
* Update to KDE5
Semantik 0.9.5
--------------
* Fix for adding new items with right-click (Issue 53)
......
......@@ -7,7 +7,11 @@ Source code: https://github.com/ita1024/semantik
1. Compilation and installation:
KDE4 is deprecated so we have to use the kde frameworks for the project now.
A few dependencies may be tricky to install, for example libkf5kdelibs4support-dev
A few dependencies may be tricky to install, for example
Ubuntu: apt install libkf5kdelibs4support-dev
Gentoo: emerge --ask kde-frameworks/kdelibs4support
check that the system has the file libKF5KDELibs4Support.so somewhere
To build the project, run:
./waf configure build
......
......@@ -88,7 +88,6 @@ void box_actor::properties()
{
mem_edit_box *ed = new mem_edit_box(m_oView->m_oMediator, m_oView->m_iId, m_iId);
ed->newText = text;
m_oCaption->setPlainText(text);
ed->apply();
}
}
......@@ -104,6 +103,7 @@ void box_actor::update_size() {
}
void box_actor::update_links() {
m_oCaption->setPlainText(m_oBox->m_sText);
m_oCaption->setPos((m_iWW - m_oCaption->boundingRect().width()) / 2., m_iHH);
box_item::update_links();
}
......
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