]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt/GuiCounter.cpp
Keep sort order of counter actions
[features.git] / src / frontends / qt / GuiCounter.cpp
index 5ab3bbfcec5e372811789dd3925a87d699f0deed..db081a46c52201312cf6e39e41df6e5b45664a66 100644 (file)
@@ -48,7 +48,7 @@ GuiCounter::GuiCounter(GuiView & lv, QWidget * parent) :
                this, SIGNAL(changed()));
 
        // These are hardcoded and do not change
-       std::map<std::string, std::string> const & ct =
+       std::vector<std::pair<std::string, std::string>> const & ct =
                        InsetCounter::counterTable;
        actionCB->clear();
        for (auto const & c : ct) {