diff --git a/UI/window-extra-browsers.cpp b/UI/window-extra-browsers.cpp index d883bec32..553cdb6e5 100644 --- a/UI/window-extra-browsers.cpp +++ b/UI/window-extra-browsers.cpp @@ -225,8 +225,10 @@ void ExtraBrowsersModel::Apply() if (item.prevIdx != -1) { UpdateItem(item); } else { - main->AddExtraBrowserDock(item.title, item.url, - item.uuid, true); + QString uuid = QUuid::createUuid().toString(); + uuid.replace(QRegularExpression("[{}-]"), ""); + main->AddExtraBrowserDock(item.title, item.url, uuid, + true); } } diff --git a/UI/window-extra-browsers.hpp b/UI/window-extra-browsers.hpp index 5869e5d10..6b7558933 100644 --- a/UI/window-extra-browsers.hpp +++ b/UI/window-extra-browsers.hpp @@ -50,7 +50,6 @@ public: int prevIdx; QString title; QString url; - QString uuid; }; void TabSelection(bool forward);