ui: fixes for release

* screen search matches in code view single not always cleared
* fixed copy full path in file title button broken
* fixed last snippet scrollbar not immediatly visible
This commit is contained in:
Eberhard Graether
2018-01-12 13:03:50 +01:00
parent 911c0fabba
commit ab5cab3656
4 changed files with 11 additions and 4 deletions
@@ -141,7 +141,7 @@ void QtCodeFileTitleButton::updateFromOther(const QtCodeFileTitleButton* other)
void QtCodeFileTitleButton::contextMenuEvent(QContextMenuEvent* event)
{
FilePath path = m_filePath;
if (text().size())
if (path.empty())
{
Project* currentProject = Application::getInstance()->getCurrentProject().get();
if (!currentProject)