diff options
author | John Thacker <johnthacker@gmail.com> | 2023-03-06 08:19:16 -0500 |
---|---|---|
committer | John Thacker <johnthacker@gmail.com> | 2023-03-07 01:22:10 +0000 |
commit | a93c7758492d6905a668c8c1f8cee60607ef57b7 (patch) | |
tree | 5b6bb572413e433328c66724da13629406868b66 /ui | |
parent | d17b9baec3075ac1f42cd61552fbd26b52e573de (diff) |
Qt: Fix copying from System Default profile
Set the "profile_filename" property on the special System Default
QAction in the CopyFromProfileButton so that the action will actually
do something when triggered.
Fix #13373
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/widgets/copy_from_profile_button.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/widgets/copy_from_profile_button.cpp b/ui/qt/widgets/copy_from_profile_button.cpp index 7e9db50a8f..1633ab6832 100644 --- a/ui/qt/widgets/copy_from_profile_button.cpp +++ b/ui/qt/widgets/copy_from_profile_button.cpp @@ -119,6 +119,7 @@ QAction * CopyFromProfileButton::systemDefault(QString filename) QFont font = data->font(); font.setItalic(true); data->setFont(font); + data->setProperty("profile_filename", path); } return data; |