Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macOS subprograms crash #1707

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions qrgui/mainWindow/palette/paletteTreeWidget.cpp
Expand Up @@ -41,6 +41,8 @@ void PaletteTreeWidget::addGroups(QList<QPair<QString, QList<PaletteElement>>> &
, const QString &diagramFriendlyName
, bool sort)
{
qDeleteAll(mPaletteItems);
qDeleteAll(mPaletteElements);
mPaletteItems.clear();
mPaletteElements.clear();
mElementsSet.clear();
Expand Down
2 changes: 1 addition & 1 deletion qrtranslations/fr/qrgui_mainWindow_fr.ts
Expand Up @@ -1121,7 +1121,7 @@ WARNING: The settings will be restored after application restart</source>
<translation type="obsolete">Ajouter un élément</translation>
</message>
<message>
<location filename="../../qrgui/mainWindow/palette/paletteTreeWidget.cpp" line="+143"/>
<location filename="../../qrgui/mainWindow/palette/paletteTreeWidget.cpp" line="+145"/>
<source>Add Entity</source>
<translation type="unfinished"></translation>
</message>
Expand Down
2 changes: 1 addition & 1 deletion qrtranslations/ru/qrgui_mainWindow_ru.ts
Expand Up @@ -1250,7 +1250,7 @@ WARNING: The settings will be restored after application restart</source>
<translation type="obsolete">Добавить элемент</translation>
</message>
<message>
<location filename="../../qrgui/mainWindow/palette/paletteTreeWidget.cpp" line="+143"/>
<location filename="../../qrgui/mainWindow/palette/paletteTreeWidget.cpp" line="+145"/>
<source>Add Entity</source>
<translation>Добавить сущность</translation>
</message>
Expand Down