fix: reset wide bar settings when the list of actions changes
This prevents changes to the actions to cause non-intuitive issues in the Wide bar, hiding items that previously weren't hidden. Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
2d69d63efe
commit
20c281d6f8
2 changed files with 37 additions and 2 deletions
|
@ -41,6 +41,10 @@ class WideBar : public QToolBar {
|
|||
|
||||
auto getMatching(QAction* act) -> QList<BarEntry>::iterator;
|
||||
|
||||
/** Used to distinguish between versions of the WideBar with different actions */
|
||||
[[nodiscard]] QByteArray getHash() const;
|
||||
[[nodiscard]] bool checkHash(QByteArray const&) const;
|
||||
|
||||
private:
|
||||
QList<BarEntry> m_entries;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue