parent
ed8ed0ce3f
commit
b4b1b4c5d3
|
@ -225,8 +225,10 @@ void ExtraBrowsersModel::Apply()
|
||||||
if (item.prevIdx != -1) {
|
if (item.prevIdx != -1) {
|
||||||
UpdateItem(item);
|
UpdateItem(item);
|
||||||
} else {
|
} else {
|
||||||
main->AddExtraBrowserDock(item.title, item.url,
|
QString uuid = QUuid::createUuid().toString();
|
||||||
item.uuid, true);
|
uuid.replace(QRegularExpression("[{}-]"), "");
|
||||||
|
main->AddExtraBrowserDock(item.title, item.url, uuid,
|
||||||
|
true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,6 @@ public:
|
||||||
int prevIdx;
|
int prevIdx;
|
||||||
QString title;
|
QString title;
|
||||||
QString url;
|
QString url;
|
||||||
QString uuid;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void TabSelection(bool forward);
|
void TabSelection(bool forward);
|
||||||
|
|
Loading…
Reference in New Issue