diff include/gui/widgets/sidebar.h @ 112:80f49f623d30

locale: allow switching locales without restarting
author Paper <mrpapersonic@gmail.com>
date Mon, 06 Nov 2023 13:41:30 -0500
parents 8043152ef9d4
children 862d0d8619f6
line wrap: on
line diff
--- a/include/gui/widgets/sidebar.h	Mon Nov 06 02:03:55 2023 -0500
+++ b/include/gui/widgets/sidebar.h	Mon Nov 06 13:41:30 2023 -0500
@@ -13,6 +13,7 @@
 		SideBar(QWidget* parent = nullptr);
 		QListWidgetItem* AddItem(QString name, QIcon icon = QIcon());
 		QListWidgetItem* AddSeparator();
+		int GetCurrentItem();
 		bool IndexIsSeparator(QModelIndex index) const;
 		static QIcon CreateIcon(const char* file);
 		void SetBackgroundColor(QColor color);