diff options
| author | Crystalwarrior <Varsash@Gmail.com> | 2022-02-21 08:03:36 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-20 23:03:36 -0600 |
| commit | ad460ceaff180e0208cabac09fcca92a21c0d65a (patch) | |
| tree | 89599d9cef32664749416a2845aea1eff684baf4 /src/courtroom.cpp | |
| parent | bcbbb899f9b3ec9831c59d06d6bbdd1d60b4f36c (diff) | |
Fix pos dropdown failing to get properly populated with bg pos (#661)
(caused by https://github.com/AttorneyOnline/AO2-Client/commit/bc49b3e976e4df01e983a9c9daea28287b9bee75
Diffstat (limited to 'src/courtroom.cpp')
| -rw-r--r-- | src/courtroom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 696de02a..6047cfa2 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -1345,7 +1345,7 @@ void Courtroom::set_background(QString p_background, bool display) // Populate the dropdown list with all pos that exist on this bg QStringList pos_list = {}; - for (const QString &key : default_pos) { + for (const QString &key : default_pos.keys()) { if (file_exists(ao_app->get_image_suffix( ao_app->get_background_path(default_pos[key]))) || // if we have 2.8-style positions, e.g. def.png, wit.webp, hld.apng file_exists( |
